From: curt Date: Tue, 13 May 2003 19:09:43 +0000 (+0000) Subject: Drop support for rendering both w/ and w/o textures, now we only support X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c51b629d8e6cd8f8dc232b7a8853f4ed16fa179b;p=flightgear.git Drop support for rendering both w/ and w/o textures, now we only support texturing. --- diff --git a/src/Main/fg_props.cxx b/src/Main/fg_props.cxx index 04061b7f9..18345fc9f 100644 --- a/src/Main/fg_props.cxx +++ b/src/Main/fg_props.cxx @@ -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);