BGE bug #17670: Python controlled mist doesnt work in textured mode.
This commit is contained in:
@@ -280,6 +280,7 @@ public:
|
||||
/**
|
||||
*/
|
||||
virtual void DisableFog()=0;
|
||||
virtual bool IsFogEnabled()=0;
|
||||
|
||||
virtual void SetBackColor(float red,
|
||||
float green,
|
||||
|
||||
@@ -210,6 +210,10 @@ void RAS_OpenGLRasterizer::DisableFog()
|
||||
m_fogenabled = false;
|
||||
}
|
||||
|
||||
bool RAS_OpenGLRasterizer::IsFogEnabled()
|
||||
{
|
||||
return m_fogenabled;
|
||||
}
|
||||
|
||||
|
||||
void RAS_OpenGLRasterizer::DisplayFog()
|
||||
|
||||
@@ -190,6 +190,7 @@ public:
|
||||
|
||||
void DisableFog();
|
||||
virtual void DisplayFog();
|
||||
virtual bool IsFogEnabled();
|
||||
|
||||
virtual void SetBackColor(
|
||||
float red,
|
||||
|
||||
Reference in New Issue
Block a user