]> git.mxchange.org Git - simgear.git/commitdiff
Cross platform fixsimgear/screen/extensions.hxx
authorehofman <ehofman>
Fri, 20 Jun 2003 20:05:52 +0000 (20:05 +0000)
committerehofman <ehofman>
Fri, 20 Jun 2003 20:05:52 +0000 (20:05 +0000)
simgear/screen/extensions.hxx

index cbf4c2314c21b07f4951d47e0c49c2eaa7183e71..ffabf4e20fb350449be86088c4f5f7e968eb921f 100644 (file)
@@ -70,8 +70,15 @@ inline void (*SGLookupFunction(const char *func))() {
 
 
 /* OpenGL extension declarations */
+#ifndef GL_EXT_point_parameters
 #define GL_POINT_SIZE_MIN_EXT                                   0x8126
 #define GL_DISTANCE_ATTENUATION_EXT                             0x8129
+#endif
+
+#ifndef GL_ARB_point_parameters
+#define GL_POINT_SIZE_MIN_ARB                                  0x8126
+#define GL_DISTANCE_ATTENUATION_ARB                            0x8129
+#endif
 
 typedef void (APIENTRY * glPointParameterfProc)(GLenum pname, GLfloat param);
 typedef void (APIENTRY * glPointParameterfvProc)(GLenum pname, const GLfloat *params);