digitalmars.D.learn - Has anyone had crash problems with Derelict + SDL + OpenGL + Intel
- Spacen Jasset (9/9) Apr 14 2008 Bit of a long shot this...
- Mike Parker (12/25) Apr 14 2008 I've had problems in past C apps with resizing via SDL_SetVideoMode.
- Spacen Jasset (3/33) Apr 15 2008 Aha, thanks for that. I might give that a go at some point. Is the SDL
Bit of a long shot this... I get an Access Violation seemingly in the 18th call to immediate glTexCoord2f after resizing the window with SDL_SetVideoMode() There is no usable stack trace for this It only seems to happen with this card so far. I reload all the OpenGL assets as usually they are discarded on windows. Vendor : Intel Renderer : Intel 915G Version : 1.4.0 - Build 4.14.10.4396
Apr 14 2008
Spacen Jasset wrote:Bit of a long shot this... I get an Access Violation seemingly in the 18th call to immediate glTexCoord2f after resizing the window with SDL_SetVideoMode() There is no usable stack trace for this It only seems to happen with this card so far. I reload all the OpenGL assets as usually they are discarded on windows. Vendor : Intel Renderer : Intel 915G Version : 1.4.0 - Build 4.14.10.4396I've had problems in past C apps with resizing via SDL_SetVideoMode. IIRC, what I did then instead of resizing was to call SDL_Quit and then reinitialize everything with the new video mode settings. If that doesn't work, you might also try manually unloading and reloading the shared libraries: DerelictGL.unload(); DerelictSDL.unload(); DerelictSDL.load(); DerelictGL.load(); // reinitialize ...
Apr 14 2008
Mike Parker wrote:Spacen Jasset wrote:Aha, thanks for that. I might give that a go at some point. Is the SDL broken or is it the video driver?Bit of a long shot this... I get an Access Violation seemingly in the 18th call to immediate glTexCoord2f after resizing the window with SDL_SetVideoMode() There is no usable stack trace for this It only seems to happen with this card so far. I reload all the OpenGL assets as usually they are discarded on windows. Vendor : Intel Renderer : Intel 915G Version : 1.4.0 - Build 4.14.10.4396I've had problems in past C apps with resizing via SDL_SetVideoMode. IIRC, what I did then instead of resizing was to call SDL_Quit and then reinitialize everything with the new video mode settings. If that doesn't work, you might also try manually unloading and reloading the shared libraries: DerelictGL.unload(); DerelictSDL.unload(); DerelictSDL.load(); DerelictGL.load(); // reinitialize ...
Apr 15 2008