23 #define QWGL_ARB_extensions_string (1 << 0)
24 #define QWGL_ARB_multisample (1 << 1)
25 #define QWGL_ARB_pixel_format (1 << 2)
26 #define QWGL_EXT_swap_control (1 << 3)
27 #define QWGL_EXT_swap_control_tear (1 << 4)
29 qboolean
WGL_Init(
const char *dllname);
38 extern int (WINAPI * qwglChoosePixelFormat)(HDC, CONST PIXELFORMATDESCRIPTOR *);
40 extern BOOL (WINAPI * qwglSetPixelFormat)(HDC,
int, CONST PIXELFORMATDESCRIPTOR *);
41 extern BOOL (WINAPI * qwglSwapBuffers)(HDC);
43 extern HGLRC (WINAPI * qwglCreateContext)(HDC);
44 extern BOOL (WINAPI * qwglDeleteContext)(
HGLRC);
45 extern PROC (WINAPI * qwglGetProcAddress)(LPCSTR);
50 extern BOOL (WINAPI * qwglChoosePixelFormatARB)(HDC,
const int *,
const FLOAT *,
UINT,
int *,
UINT *);
52 extern BOOL (WINAPI * qwglSwapIntervalEXT)(
int interval);