GL Bug...more info

ok well i figured out how to trace into the code…so heres some info ive gathered.

ok…from SDL_Quit it gets into VideoQuit…
from there it goes into here:

/* Clean up the system video */
video->VideoQuit(this);

from there (which is DX5_VideoQuit)
it goes here:

WIN_GL_ShutDown(this);

from there (WIN_GL_ShutDown) it goes here:

this->gl_data->wglDeleteContext(GL_hrc);

and this is where it dies, as i try to trace into that function.

Im not sure if this helps but it looks highly suspect if its a pointer, but not if its a handle. When it dies…

this->gl_data->GL_hrc==0x00010000

hope this helps (: