aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-05-06 16:01:41 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-05-06 16:01:41 +0000
commitd859dca57dd0da983b50dba748f56a60216cc3a8 (patch)
tree2732e81d75a4944a87e5565285b1820270d44e48 /code/renderer
parent7ddd0bcc6524b17bf980432df068462dc05ab7da (diff)
downloadioquake3-aero-d859dca57dd0da983b50dba748f56a60216cc3a8.tar.gz
ioquake3-aero-d859dca57dd0da983b50dba748f56a60216cc3a8.zip
* Fix the MinGW build. Ugh.
git-svn-id: svn://svn.icculus.org/quake3/trunk@775 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-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"