src/video/win32/SDL_win32opengl.c
changeset 1926 307355678142
parent 1913 83420da906a5
child 1936 83946ee0ff1f
     1.1 --- a/src/video/win32/SDL_win32opengl.c	Sat Jul 22 21:17:37 2006 +0000
     1.2 +++ b/src/video/win32/SDL_win32opengl.c	Sat Jul 22 21:58:17 2006 +0000
     1.3 @@ -196,7 +196,6 @@
     1.4      int pixel_format;
     1.5      HGLRC hglrc;
     1.6      const char *(WINAPI * wglGetExtensionsStringARB) (HDC) = 0;
     1.7 -    const GLubyte *(WINAPI * glGetStringFunc) (GLenum);
     1.8      const char *extensions;
     1.9  
    1.10      hwnd =
    1.11 @@ -241,14 +240,6 @@
    1.12          }
    1.13      }
    1.14  
    1.15 -    glGetStringFunc = WIN_GL_GetProcAddress(_this, "glGetString");
    1.16 -    if (glGetStringFunc) {
    1.17 -        extensions = (const char *) glGetStringFunc(GL_EXTENSIONS);
    1.18 -    } else {
    1.19 -        /* Uh oh, something is seriously wrong here... */
    1.20 -        extensions = NULL;
    1.21 -    }
    1.22 -
    1.23      /* Check for WGL_EXT_swap_control */
    1.24      if (HasExtension("WGL_EXT_swap_control", extensions)) {
    1.25          _this->gl_data->wglSwapIntervalEXT =