]> git.mxchange.org Git - flightgear.git/commitdiff
Removed 'x' from the xgl* calls.
authorcurt <curt>
Tue, 5 Jun 2001 19:50:36 +0000 (19:50 +0000)
committercurt <curt>
Tue, 5 Jun 2001 19:50:36 +0000 (19:50 +0000)
src/Weather/weather.hxx

index a1ee77b513a16727e3cd8e17db69b64fbb5097b8..c8728e85494af9a296ca80128fc015799b925884 100644 (file)
@@ -55,7 +55,7 @@ public:
     inline double get_visibility() const { return visibility; }
 
     inline void set_visibility( double v ) {
-       xglMatrixMode(GL_MODELVIEW);
+       glMatrixMode(GL_MODELVIEW);
        // in meters
        visibility = v;
 
@@ -66,8 +66,8 @@ public:
        fog_exp2_density = sqrt( -log(0.01) ) / visibility;
 
        // Set correct opengl fog density
-       xglFogf (GL_FOG_DENSITY, fog_exp2_density);
-       xglFogi( GL_FOG_MODE, GL_EXP2 );
+       glFogf (GL_FOG_DENSITY, fog_exp2_density);
+       glFogi( GL_FOG_MODE, GL_EXP2 );
 
        // SG_LOG( SG_INPUT, SG_DEBUG, "Fog density = " << fog_density );
        // SG_LOG( SG_INPUT, SG_INFO,