From 6a45be1d7209e18a9ef12b0302eb08929310aebe Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 6 Jan 2003 21:43:59 +0000 Subject: [PATCH] Oops missed some more usage of opengl extensions that may not be on everyone's systems. --- src/Main/main.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 32282ae8e..cdf736e08 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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 -- 2.39.5