Anonymous - 2001-02-06

Hi, not quite sure if this is the right forum for this. The documentation for SDL_OPENGLBLIT seem to indicate no extra efforts needed to blit surfaces onto the screen when using OpenGL. However, taking a simple test program just plotting a surface to the screen which works for "normal" video modes and then change to SDL_OPENGLBLIT produces no image at all.

Looking at the sourcecode SDL handles this videomode as a "standard" OpenGL mode and sets a callback to the UpdateRect function which loads the contents of the screen as a gl texturemap and draws an appropiate polygon over the screen. Looking at the code and making a few "printf" traces gives me no clue to why it doesn't work.

Has anyone else used this videomode successfully?

/ Mathias Broxvall