From b65fe814a05879a6d883598c97113edc7c9921cc Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 20 Jun 2003 20:05:52 +0000 Subject: [PATCH] Cross platform fixsimgear/screen/extensions.hxx --- simgear/screen/extensions.hxx | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- 2.39.5