Date: Sun, 30 Apr 2006 14:20:05 +1000 From: Rob Subject: [SDL] SDL pre-release
Date: Sun, 30 Apr 2006 14:20:05 +1000
From: Rob
Subject: [SDL] SDL pre-release

OpenGL fails on the zipped pre-release source accessible from
http://www.libsdl.org/svn.php.

Appears to be following lines in sdl_wing.c (lines 341-345):

wglext = (const char *)this->glGetString(GL_EXTENSIONS);
    if ( !SDL_strstr(wglext, "WGL_EXT_swap_control") ) {
        this->gl_data->wglSwapIntervalEXT = NULL;
        this->gl_data->wglGetSwapIntervalEXT = NULL;
    }

glGetString is a null pointer, as are other gl function pointers, so call
fails.  Never looked at sdl source before, so no further than that as yet.


git-svn-id: 75429ccc2030f235ccf16e6b9b7f8e83d5edd22e@2294 c70aab31-4412-0410-b14c-859654838e24

albertz/sdl,albertz/sdl,albertz/sdl,albertz/sdl