]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - glquake.h
Fixed a bug in the r_shadow light entity parser which caused it to not read in
[xonotic/darkplaces.git] / glquake.h
index 865379a589959aeb3cc80dcfd788f1fd03636434..20f2b6d05b3015a07330f307b799d8bb5e36f807 100644 (file)
--- a/glquake.h
+++ b/glquake.h
@@ -491,19 +491,6 @@ extern void (GLAPIENTRY *qglCopyTexSubImage2D)(GLenum target, GLint level, GLint
 
 extern void (GLAPIENTRY *qglPolygonOffset)(GLfloat factor, GLfloat units);
 
-#if WIN32
-extern int (WINAPI *qwglChoosePixelFormat)(HDC, CONST PIXELFORMATDESCRIPTOR *);
-extern int (WINAPI *qwglDescribePixelFormat)(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
-//extern int (WINAPI *qwglGetPixelFormat)(HDC);
-extern BOOL (WINAPI *qwglSetPixelFormat)(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
-extern BOOL (WINAPI *qwglSwapBuffers)(HDC);
-extern HGLRC (WINAPI *qwglCreateContext)(HDC);
-extern BOOL (WINAPI *qwglDeleteContext)(HGLRC);
-extern PROC (WINAPI *qwglGetProcAddress)(LPCSTR);
-extern BOOL (WINAPI *qwglMakeCurrent)(HDC, HGLRC);
-extern BOOL (WINAPI *qwglSwapIntervalEXT)(int interval);
-#endif
-
 // GL_ARB_shader_objects
 extern int gl_support_shader_objects;
 #ifndef GL_PROGRAM_OBJECT_ARB
@@ -689,6 +676,10 @@ extern int gl_support_shading_language_100;
 // GL_EXT_bgra
 #define GL_BGRA                                        0x80E1
 
+// GL_NV_half_float
+extern int gl_support_half_float;
+// note: this extension has GL_HALF stuff for feeding half floats but I don't use that
+
 #define DEBUGGL
 
 #ifdef DEBUGGL