comparison 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
comparison
equal deleted inserted replaced
4041:1c291c47cf1e 4042:f9d0b64cc7b9
42 42
43 BOOL (WINAPI *wglDeleteContext)(HGLRC hglrc); 43 BOOL (WINAPI *wglDeleteContext)(HGLRC hglrc);
44 44
45 BOOL (WINAPI *wglMakeCurrent)(HDC hdc, HGLRC hglrc); 45 BOOL (WINAPI *wglMakeCurrent)(HDC hdc, HGLRC hglrc);
46 46
47 BOOL (WINAPI *wglChoosePixelFormatARB)(HDC hdc, const int *piAttribIList,
48 const FLOAT *pfAttribFList,
49 UINT nMaxFormats, int *piFormats,
50 UINT *nNumFormats);
51 BOOL (WINAPI *wglGetPixelFormatAttribivARB)(HDC hdc, int iPixelFormat, 47 BOOL (WINAPI *wglGetPixelFormatAttribivARB)(HDC hdc, int iPixelFormat,
52 int iLayerPlane, 48 int iLayerPlane,
53 UINT nAttributes, 49 UINT nAttributes,
54 const int *piAttributes, 50 const int *piAttributes,
55 int *piValues); 51 int *piValues);