From: curt Date: Sun, 20 Jan 2002 05:58:34 +0000 (+0000) Subject: #ifdef out some test code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=10d63827fb19c95d646fad018679e17edd78966e;p=flightgear.git #ifdef out some test code. --- diff --git a/src/Scenery/tileentry.cxx b/src/Scenery/tileentry.cxx index eb4136847..e2431a131 100644 --- a/src/Scenery/tileentry.cxx +++ b/src/Scenery/tileentry.cxx @@ -870,6 +870,7 @@ void FGTileEntry::prep_ssg_node( const Point3D& p, float vis) { // Set up lights rendering call backs static int fgLightsPredraw( ssgEntity *e ) { +#if 0 #ifdef GL_EXT_point_parameters if (glutExtensionSupported("GL_EXT_point_parameters")) { static float quadratic[3] = {1.0, 0.01, 0.0001}; @@ -877,11 +878,13 @@ static int fgLightsPredraw( ssgEntity *e ) { glPointParameterfEXT(GL_POINT_SIZE_MIN_EXT, 1.0); glPointSize(4.0); } +#endif #endif return true; } static int fgLightsPostdraw( ssgEntity *e ) { +#if 0 #ifdef GL_EXT_point_parameters if (glutExtensionSupported("GL_EXT_point_parameters")) { static float default_attenuation[3] = {1.0, 0.0, 0.0}; @@ -889,6 +892,7 @@ static int fgLightsPostdraw( ssgEntity *e ) { default_attenuation); glPointSize(1.0); } +#endif #endif return true; }