Has anyone had crash problems with Derelict + SDL + OpenGL + Intel 915G on windows?

Spacen Jasset spacenjasset at yahoo.co.uk
Tue Apr 15 06:14:19 PDT 2008


Mike Parker wrote:
> 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.4396
> 
> I'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
> ...

Aha, thanks for that. I might give that a go at some point. Is the SDL 
broken or is it the video driver?


More information about the Digitalmars-d-learn mailing list