The code for VidExt_GL_GetProcAddress is :
{{{
EXPORT void * CALL VidExt_GL_GetProcAddress(const char* Proc)
{
if (!SDL_WasInit(SDL_INIT_VIDEO))
return NULL;
/* call video extension override if necessary */
if (l_VideoExtensionActive)
return (*l_ExternalVideoFuncTable.VidExtFuncGLGetProc)(Proc);
return SDL_GL_GetProcAddress(Proc);
}
}}}
this is wrong; the check for the video extension needs to occur BEFORE checking
SDL_WasInit(SDL_INIT_VIDEO), since the video extension probably does not use SDL
Original issue reported on code.google.com by auria...@gmail.com on 13 Apr 2011 at 5:24
Original issue reported on code.google.com by
auria...@gmail.com
on 13 Apr 2011 at 5:24