- removed all legacy fog code.

This commit is contained in:
Christoph Oelckers 2019-10-19 15:52:46 +02:00
parent 2ef89abe08
commit cd7bbe35a8
16 changed files with 32 additions and 171 deletions

View file

@ -249,7 +249,6 @@ int32_t FindDistance3D(int32_t x, int32_t y, int32_t z)
// Clear OSD background
void COMMON_doclearbackground(int numcols, int height)
{
GLInterface.SetFogEnabled(false);
GLInterface.UseColorOnly(true);
polymostSet2dView();
@ -278,7 +277,6 @@ void COMMON_doclearbackground(int numcols, int height)
GLInterface.Draw(DT_TRIANGLE_STRIP, vert.first+4, 4);
GLInterface.UseColorOnly(false);
GLInterface.SetFogEnabled(true);
}
void COMMON_clearbackground(int numcols, int numrows)