From: ehofman Date: Fri, 20 Jun 2003 20:05:52 +0000 (+0000) Subject: Cross platform fixsimgear/screen/extensions.hxx X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b65fe814a05879a6d883598c97113edc7c9921cc;p=simgear.git Cross platform fixsimgear/screen/extensions.hxx --- diff --git a/simgear/screen/extensions.hxx b/simgear/screen/extensions.hxx index cbf4c231..ffabf4e2 100644 --- a/simgear/screen/extensions.hxx +++ b/simgear/screen/extensions.hxx @@ -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);