]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/tileentry.cxx
Tweaks from Julian Foad:
[flightgear.git] / src / Scenery / tileentry.cxx
index eb4136847db4b1833dd6e6cc156542cc7efac6d1..e2431a131b1b1c4580f4fcac8ebfbc2487be18be 100644 (file)
@@ -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;
 }