Mercurial > sdl-ios-xcode
diff src/video/wincommon/SDL_wingl_c.h @ 4042:f9d0b64cc7b9 SDL-1.2
I think this fixes bug #261
Make sure that you don't use a wgl function after the context is deleted.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 11 Jul 2007 05:43:39 +0000 |
parents | 3b2a92126f4d |
children | a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_wingl_c.h Tue Jul 10 20:15:31 2007 +0000 +++ b/src/video/wincommon/SDL_wingl_c.h Wed Jul 11 05:43:39 2007 +0000 @@ -44,10 +44,6 @@ BOOL (WINAPI *wglMakeCurrent)(HDC hdc, HGLRC hglrc); - BOOL (WINAPI *wglChoosePixelFormatARB)(HDC hdc, const int *piAttribIList, - const FLOAT *pfAttribFList, - UINT nMaxFormats, int *piFormats, - UINT *nNumFormats); BOOL (WINAPI *wglGetPixelFormatAttribivARB)(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes,