1
0
Fork 0

Drop support for rendering both w/ and w/o textures, now we only support

texturing.
This commit is contained in:
curt 2003-05-13 19:09:43 +00:00
parent db8cc2aba9
commit c51b629d8e

View 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);