I’m getting a crash (signal 11) when calling glGenTextures(1, &nTexture)
in Windows, but not in Linux.
All I could find in the net says “make sure you have a valid OpenGL
context before calling glGenTextures()”. I assume SDL does that for me,
right? I’ve already set the video mode with no errors.
I tried forcing the windib driver and I still get the crash.
For some reason, several previous calls to glGenTextures() succeed, but
this one crashes.
I’m at a complete loss. Does anyone have an interesting theory?
I had a similar problem once, it turned out my drivers were bad (ie had
bugs) but i was using a voodoo which was out of business so no new updates
were coming out to fix the patch.
what kind of video card do you have?> ----- Original Message -----
From: mystml@adinet.com.uy (Gabriel Gambetta)
To: “SDL Mailing List”
Sent: Sunday, August 21, 2005 6:15 PM
Subject: [SDL] Crash in glGenTextures()
I’m getting a crash (signal 11) when calling glGenTextures(1, &nTexture)
in Windows, but not in Linux.
All I could find in the net says “make sure you have a valid OpenGL
context before calling glGenTextures()”. I assume SDL does that for me,
right? I’ve already set the video mode with no errors.
I tried forcing the windib driver and I still get the crash.
For some reason, several previous calls to glGenTextures() succeed, but
this one crashes.
I’m at a complete loss. Does anyone have an interesting theory?
El dom, 21-08-2005 a las 23:41 -0700, Alan Wolfe escribi?:
Heya Gabriel,
I had a similar problem once, it turned out my drivers were bad (ie had
bugs) but i was using a voodoo which was out of business so no new updates
were coming out to fix the patch.
what kind of video card do you have?
I found the problem. The video card is a GeForce4 MX but didn’t have the
nVidia drivers, so it was running the Windows GDI OpenGL implementation,
which seems to be buggy. I was allocating a couple of 32x2048 textures,
which could fail, but shouldn’t have crashed.