From 177e081a2a230bf8089b7e49d297ffb4eb2bc5ca Mon Sep 17 00:00:00 2001 From: ehofman Date: Sun, 9 Nov 2003 15:07:23 +0000 Subject: [PATCH] Disable two sided light model because Andy's patch to plib makes it unneeded. This should also increase framerate a bit --- src/Main/main.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 9f2b701d2..dc8c5a8da 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -1247,10 +1247,11 @@ static void fgMainLoop( void ) { // END Tile Manager udpates if (fgGetBool("/sim/rendering/specular-highlight")) { - glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR); glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE); + glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR); + // glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE); } else { glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SINGLE_COLOR); - glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_FALSE); + // glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_FALSE); } // redraw display