#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:
parent
9bbe8a78b6
commit
f2dac6306f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue