]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_props.cxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Main / fg_props.cxx
index 04061b7f9eab4d2166eb2d46a22fcdd9a5107730..18345fc9f281fa0ea619c8956d11a3122e039728 100644 (file)
@@ -352,29 +352,6 @@ getGMTString ()
 }
 
 
-/**
- * Get the texture rendering state.
- */
-static bool
-getTextures ()
-{
-  return (material_lib.get_step() == 0);
-}
-
-
-/**
- * Set the texture rendering state.
- */
-static void
-setTextures (bool textures)
-{
-  if (textures)
-    material_lib.set_step(0);
-  else
-    material_lib.set_step(1);
-}
-
-
 /**
  * Return the magnetic variation
  */
@@ -589,7 +566,6 @@ fgInitProps ()
   fgTie("/sim/time/gmt", getDateString, setDateString);
   fgSetArchivable("/sim/time/gmt");
   fgTie("/sim/time/gmt-string", getGMTString);
-  fgTie("/sim/rendering/textures", getTextures, setTextures);
 
                                // Orientation
   fgTie("/orientation/heading-magnetic-deg", getHeadingMag);