r775 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat May 6 12:01:41 EDT 2006


Author: tma
Date: 2006-05-06 12:01:41 -0400 (Sat, 06 May 2006)
New Revision: 775

Modified:
   trunk/code/renderer/qgl.h
Log:
* Fix the MinGW build. Ugh.


Modified: trunk/code/renderer/qgl.h
===================================================================
--- trunk/code/renderer/qgl.h	2006-05-06 12:11:24 UTC (rev 774)
+++ trunk/code/renderer/qgl.h	2006-05-06 16:01:41 UTC (rev 775)
@@ -91,6 +91,7 @@
 
 
 //===========================================================================
+// <Timbo> I hate this section so much
 
 /*
 ** multitexture extension definitions
@@ -112,11 +113,17 @@
 
 #endif /* defined(__sun) */
 
+// anisotropic filtering constants
+#define GL_TEXTURE_MAX_ANISOTROPY_EXT       0x84FE
+#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT   0x84FF
+
 // define for skyboxes without black seams on non SDL-versions.
 #if !defined(GL_VERSION_1_2) && !defined(GL_CLAMP_TO_EDGE)
    #define GL_CLAMP_TO_EDGE                  0x812F
 #endif
 
+//===========================================================================
+
 // NOTE: some Linux platforms would need those prototypes
 #if defined(MACOS_X) || ( defined(__sun) && defined(__sparc) )
 typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
@@ -183,7 +190,7 @@
 
 //===========================================================================
 
-// non-windows systems will just redefine qgl* to gl*
+// non-dlopening systems will just redefine qgl* to gl*
 #if !defined( _WIN32 ) && !defined(MACOS_X) && !defined( __linux__ ) && !defined( __FreeBSD__ ) && !defined(__sun) // rb010123
 
 #include "qgl_linked.h"




More information about the quake3-commits mailing list