From 024916acffbb61c0ce7a781f2cfa8783ddc5b1be Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 26 Apr 2005 20:58:20 +0000 Subject: no need to enable fog or set fog mode with fragment program --- progs/demos/arbfplight.c | 2 -- 1 file changed, 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 -- cgit v1.2.3