1
0
Fork 0

Oops missed some more usage of opengl extensions that may not be on everyone's systems.

This commit is contained in:
curt 2003-01-06 21:43:59 +00:00
parent 7805202fc6
commit 6a45be1d72

View file

@ -1594,6 +1594,7 @@ static bool fgMainInit( int argc, char **argv ) {
glTexEnvf( GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, -0.5 ) ;
#endif
#ifdef FG_EXPERIMENTAL_POINT_LIGHTING
// get the address of our OpenGL extensions
if ( fgGetBool("/sim/rendering/distance-attenuation") )
{
@ -1609,6 +1610,7 @@ static bool fgMainInit( int argc, char **argv ) {
glXGetProcAddressARB((GLubyte *)"glPointParameterfvEXT");
#endif
}
#endif
// based on the requested presets, calculate the true starting
// lon, lat