From: ehofman Date: Fri, 29 Aug 2003 16:50:20 +0000 (+0000) Subject: Use the glPointParameter function pointer rather than the function itself X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1dea70fffa9353d55ba0b8a5c061b36d9a5671b4;p=flightgear.git Use the glPointParameter function pointer rather than the function itself --- diff --git a/src/Scenery/tileentry.cxx b/src/Scenery/tileentry.cxx index deed1aa49..a22102219 100644 --- a/src/Scenery/tileentry.cxx +++ b/src/Scenery/tileentry.cxx @@ -453,8 +453,8 @@ static int fgLightsPredraw( ssgEntity *e ) { #if 0 if (glPointParameterIsSupported) { static float quadratic[3] = {1.0, 0.01, 0.0001}; - glPointParameterfvEXT(GL_DISTANCE_ATTENUATION_EXT, quadratic); - glPointParameterfEXT(GL_POINT_SIZE_MIN_EXT, 1.0); + glPointParameterfvProc(GL_DISTANCE_ATTENUATION_EXT, quadratic); + glPointParameterfProc(GL_POINT_SIZE_MIN_EXT, 1.0); glPointSize(4.0); } #endif @@ -465,7 +465,7 @@ static int fgLightsPostdraw( ssgEntity *e ) { #if 0 if (glPointParameterIsSupported) { static float default_attenuation[3] = {1.0, 0.0, 0.0}; - glPointParameterfvEXT(GL_DISTANCE_ATTENUATION_EXT, + glPointParameterfvProc(GL_DISTANCE_ATTENUATION_EXT, default_attenuation); glPointSize(1.0); }