1
0
Fork 0

#ifdef out a bit more code that could cause compile problems on platforms

that don't have all the latest opengl extensions.
This commit is contained in:
curt 2003-01-12 14:28:26 +00:00
parent 9bbe8a78b6
commit f2dac6306f

View file

@ -135,6 +135,7 @@ SG_USING_STD(endl);
#include "fg_commands.hxx"
#ifdef FG_EXPERIMENTAL_POINT_LIGHTING
#ifdef WIN32
typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC)(GLenum pname,
GLfloat param);
@ -152,6 +153,7 @@ SG_USING_STD(endl);
OpenGLFuncExt glPointParameterfEXT = 0;
OpenGLFuncExtv glPointParameterfvEXT = 0;
#endif
#endif
float default_attenuation[3] = {1.0, 0.0, 0.0};
//Required for using GL_extensions