From 1236d8be19f39014bf18e6ef6cf6dc8e1455f865 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 12 Sep 2003 21:24:52 +0000 Subject: [PATCH] Fix a problem for systems with older headers --- simgear/screen/extensions.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/simgear/screen/extensions.hxx b/simgear/screen/extensions.hxx index 8fd83c6e..c6d6480a 100644 --- a/simgear/screen/extensions.hxx +++ b/simgear/screen/extensions.hxx @@ -139,6 +139,16 @@ typedef void (APIENTRY * glPointParameterfvProc)(GLenum pname, const GLfloat *pa typedef void (APIENTRY * glActiveTextureProc)(GLenum texture); +/* + * GL_EXT_separate_specular_color + */ + +#ifndef GL_LIGHT_MODEL_COLOR_CONTROL +#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 +#define GL_SINGLE_COLOR 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR 0x81FA +#endif + #if defined(__cplusplus) } #endif -- 2.39.5