src/video/windows/SDL_windowsopengl.c
changeset 5090 327f181542f1
parent 5062 e8916fe9cfc8
child 5262 b530ef003506
     1.1 --- a/src/video/windows/SDL_windowsopengl.c	Mon Jan 24 17:47:18 2011 -0800
     1.2 +++ b/src/video/windows/SDL_windowsopengl.c	Mon Jan 24 21:20:30 2011 -0800
     1.3 @@ -101,7 +101,7 @@
     1.4          !_this->gl_data->wglDeleteContext ||
     1.5          !_this->gl_data->wglMakeCurrent) {
     1.6          SDL_SetError("Could not retrieve OpenGL functions");
     1.7 -        FreeLibrary(handle);
     1.8 +        SDL_UnloadObject(handle);
     1.9          return -1;
    1.10      }
    1.11