Can?¢_~t pinpoint where exactly there?¢_Ts a bug in sld with SDL_OPENGL flag, but using SDL_SetVideoMode without it seems to go over the issue.
[pascal] SDL_SetVideoMode(640, 480, 32, SDL_OPENGL or SDL_FULLSCREEN)
SDL_SetVideoMode(640, 480, 32, 0);
SDL_QuitSubSystem(SDL_INIT_VIDEO) ;
SDL_InitSubSystem(SDL_INIT_VIDEO);
SDL_SetVideoMode(640, 480, 32, SDL_OPENGL);[/pascal]