Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-29 12:09:18 +0000
committerStijn Buys <ingar@osirion.org>2008-07-29 12:09:18 +0000
commit7135476fc282ad62373347af2118fbe421415966 (patch)
treedeaf1d4ab342af8a630bb33030973e378f8302c8 /src
parentf4398aa4664170b4da0b0224bdc27108eeca83f3 (diff)
replace GL_RESCALE_NORMAL with GL_NORMALIZE
Diffstat (limited to 'src')
-rw-r--r--src/render/draw.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index b26b8ce..b552361 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -956,11 +956,13 @@ void draw(float seconds)
gl::enable(GL_CULL_FACE); // enable culling
gl::enable(GL_COLOR_MATERIAL); // enable color tracking
gl::enable(GL_LIGHTING);
- gl::enable(GL_RESCALE_NORMAL); // rescale normals by the transformation matrix scale factor
+ //gl::enable(GL_RESCALE_NORMAL); // rescale normals by the transformation matrix scale factor
+ gl::enable(GL_NORMALIZE);
draw_pass_default(); // draw entities without model
- gl::disable(GL_RESCALE_NORMAL);
+ gl::disable(GL_NORMALIZE);
+ //gl::disable(GL_RESCALE_NORMAL);
glEnableClientState(GL_COLOR_ARRAY);