BGE bug #17670: Python controlled mist doesnt work in textured mode.

This commit is contained in:
2009-04-22 22:12:36 +00:00
parent fd108f1019
commit 90508ed125
5 changed files with 19 additions and 5 deletions

View File

@@ -280,6 +280,7 @@ public:
/**
*/
virtual void DisableFog()=0;
virtual bool IsFogEnabled()=0;
virtual void SetBackColor(float red,
float green,

View File

@@ -210,6 +210,10 @@ void RAS_OpenGLRasterizer::DisableFog()
m_fogenabled = false;
}
bool RAS_OpenGLRasterizer::IsFogEnabled()
{
return m_fogenabled;
}
void RAS_OpenGLRasterizer::DisplayFog()

View File

@@ -190,6 +190,7 @@ public:
void DisableFog();
virtual void DisplayFog();
virtual bool IsFogEnabled();
virtual void SetBackColor(
float red,