SDL_SetVideoMode broken when using OpenGL?

Hi. I got the latest SDL source from svn yesterday and compiled it. In this
latest version noone of my OpenGL games runs, they all crash when calling
SDL_SetVideoMode. Weird thing is that it only happends if using the release
version of the dll. When using the debug build it runs just fine so its not
that easy to debug it either. I will do some more testing later this
afternoon to try to find out on which line it crashes.

All this is on Windows XP SP2 using latest drivers for my GeForce 6600 GT.

MVH Tomaz

On further investigation ive found that its this line that crashes:

mode = video->SetVideoMode(this, prev_mode,video_w,video_h,video_bpp,flags);

I gotta run now but when i return I will test and see if it is using dib or
dx5 as device and then continue hunting down what it is that is causing the
crash.

MVH Tomaz

----Original Message Follows----From: @Tomas_Jakobsson (Tomas Jakobsson)
Reply-To: “A list for developers using the SDL library.
(includesSDL-announce)”
To: sdl at libsdl.org
Subject: [SDL] SDL_SetVideoMode broken when using OpenGL ?
Date: Fri, 05 May 2006 12:06:26 +0200

Hi. I got the latest SDL source from svn yesterday and compiled it. In this
latest version noone of my OpenGL games runs, they all crash when calling
SDL_SetVideoMode. Weird thing is that it only happends if using the release
version of the dll. When using the debug build it runs just fine so its not
that easy to debug it either. I will do some more testing later this
afternoon to try to find out on which line it crashes.

All this is on Windows XP SP2 using latest drivers for my GeForce 6600 GT.

MVH Tomaz


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl