diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-04-26 20:58:20 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-04-26 20:58:20 +0000 |
commit | 024916acffbb61c0ce7a781f2cfa8783ddc5b1be (patch) | |
tree | 563a169a502491ec1c7a588042a8ac14438a4adf | |
parent | 6da6fbf15acd5c3171291a77ca4932cfef86ccd8 (diff) |
no need to enable fog or set fog mode with fragment program
-rw-r--r-- | progs/demos/arbfplight.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/progs/demos/arbfplight.c b/progs/demos/arbfplight.c index d5508a6aa8..6ad95d4d76 100644 --- a/progs/demos/arbfplight.c +++ b/progs/demos/arbfplight.c @@ -365,11 +365,9 @@ static void Init( void ) { /* Green-ish fog color */ static const GLfloat fogColor[4] = {0.5, 1.0, 0.5, 0}; - glFogi(GL_FOG_MODE, GL_LINEAR); glFogfv(GL_FOG_COLOR, fogColor); glFogf(GL_FOG_START, 5.0); glFogf(GL_FOG_END, 25.0); - glEnable(GL_FOG); } #endif |