]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - glquake.h
lhnet fixes - now calls WSAStartup during LHNET_Init and WSAShutdown during LHNET_Shu...
[xonotic/darkplaces.git] / glquake.h
index 4404f8560a14323868afdc60396242fa32546821..5cc893540ce21d978a1c0b5924cdf93f8ec00c86 100644 (file)
--- a/glquake.h
+++ b/glquake.h
@@ -82,6 +82,7 @@ typedef double GLclampd;
 #define GL_CULL_FACE                           0x0B44
 
 #define GL_BLEND                               0x0BE2
+#define GL_ALPHA_TEST                  0x0BC0
 
 #define GL_ZERO                                        0x0
 #define GL_ONE                                 0x1
@@ -680,7 +681,7 @@ extern int gl_support_shading_language_100;
 #define DEBUGGL
 
 #ifdef DEBUGGL
-#define CHECKGLERROR {if (gl_printcheckerror.integer) Con_Printf("CHECKGLERROR at %s:%d\n", __FILE__, __LINE__);if (gl_paranoid.integer && (errornumber = qglGetError())) GL_PrintError(errornumber, __FILE__, __LINE__);}
+#define CHECKGLERROR {if (gl_paranoid.integer){if (gl_printcheckerror.integer) Con_Printf("CHECKGLERROR at %s:%d\n", __FILE__, __LINE__);errornumber = qglGetError();if (errornumber) GL_PrintError(errornumber, __FILE__, __LINE__);}}
 extern int errornumber;
 void GL_PrintError(int errornumber, char *filename, int linenumber);
 #else