diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index cdaf3a3ebd..dddf73f3f8 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -174,7 +174,7 @@ void OpenGLSdlGraphicsManager::detectSupportedFormats() { if (RGBList[i] != format) _supportedFormats.push_back(RGBList[i]); } - +#ifndef USE_GLES // Push some BGR formats for (int i = 0; i < ARRAYSIZE(BGRList); i++) { if (_hwscreen && (BGRList[i].bytesPerPixel > format.bytesPerPixel)) @@ -182,7 +182,7 @@ void OpenGLSdlGraphicsManager::detectSupportedFormats() { if (BGRList[i] != format) _supportedFormats.push_back(BGRList[i]); } - +#endif _supportedFormats.push_back(Graphics::PixelFormat::createFormatCLUT8()); } |