From f0981aa6b09e67ec57b7cb92421513415292e97f Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 17 Dec 2002 00:09:50 +0000 Subject: Commit of the day... --- lib/glbase.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/glbase.cc') diff --git a/lib/glbase.cc b/lib/glbase.cc index 214f2d9..aa98d30 100644 --- a/lib/glbase.cc +++ b/lib/glbase.cc @@ -49,7 +49,7 @@ int mogltk::glbase::setup(int w, int h, int flags) throw(GeneralException) { glClearColor(0, 0, 0, 0); glShadeModel(GL_SMOOTH); - + glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL); glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); @@ -61,7 +61,7 @@ int mogltk::glbase::setup(int w, int h, int flags) throw(GeneralException) { glMatrixMode(GL_MODELVIEW); glLoadIdentity(); - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL); + glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); Flip(); -- cgit v1.2.3