aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/renderer/qgl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/code/renderer/qgl.h b/code/renderer/qgl.h
index 2df33d8..52ba8ca 100644
--- a/code/renderer/qgl.h
+++ b/code/renderer/qgl.h
@@ -91,6 +91,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//===========================================================================
+// <Timbo> I hate this section so much
/*
** multitexture extension definitions
@@ -112,11 +113,17 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#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 @@ extern void ( APIENTRY * qglUnlockArraysEXT) (void);
//===========================================================================
-// 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"