Access to SDL_VideoDevice *current_video

Hi
Is there a way to get access to current_video?

I tried “extern SDL_VideoDevice *current_video;” since nm give me “00068520
D current_video” on libSDL-1.2.so.0, but values act a very strange way

thx for any tip!

jvary_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://search.msn.fr/worldwide.asp

Julien Vary wrote:

Hi
Is there a way to get access to current_video?

What do you want to do with current_video ? Direct unbuffered screen
access ? Modify some pixels ?

For direct screen access, you shouldn’t access current_video, but rather
use the surface returned by the SDL_GetVideoSurface() function.

Stephane