BACKENDS: Fix using fillScreen in non-paletted screen modes

This commit is contained in:
Cameron Cawley 2019-11-09 14:52:05 +00:00 committed by Filippos Karapetis
parent a00ccb215f
commit d1fa1154fe
4 changed files with 4 additions and 13 deletions

View file

@ -452,11 +452,6 @@ void OpenGLGraphicsManager::copyRectToScreen(const void *buf, int pitch, int x,
}
void OpenGLGraphicsManager::fillScreen(uint32 col) {
// FIXME: This does not conform to the OSystem specs because fillScreen
// is always taking CLUT8 color values and use color indexed mode. This is,
// however, plain odd and probably was a forgotten when we introduced
// RGB support. Thus, we simply do the "sane" thing here and hope OSystem
// gets fixed one day.
_gameScreen->fill(col);
}