From 1dea70fffa9353d55ba0b8a5c061b36d9a5671b4 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 29 Aug 2003 16:50:20 +0000 Subject: [PATCH] Use the glPointParameter function pointer rather than the function itself --- src/Scenery/tileentry.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }