diff options
Diffstat (limited to 'src/Fog.cpp')
-rw-r--r-- | src/Fog.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Fog.cpp b/src/Fog.cpp index 21ca229..82f1d88 100644 --- a/src/Fog.cpp +++ b/src/Fog.cpp @@ -18,7 +18,7 @@ void Fog::SetFog(float colorR, float colorG, float colorB, float fStart, float f glFogi(GL_FOG_HINT,GL_DONT_CARE); glFogi(GL_FOG_START,fogStart); glFogi(GL_FOG_END,fogEnd); - + glEnable(GL_FOG); } @@ -36,7 +36,7 @@ void Fog::TempFog(float colorR, float colorG, float colorB) glFogi(GL_FOG_HINT,GL_DONT_CARE); glFogi(GL_FOG_START,fogStart); glFogi(GL_FOG_END,fogEnd); - + glEnable(GL_FOG); } @@ -48,7 +48,6 @@ void Fog::ResetFog() glFogi(GL_FOG_HINT,GL_DONT_CARE); glFogi(GL_FOG_START,fogStart); glFogi(GL_FOG_END,fogEnd); - + glEnable(GL_FOG); } - |