aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-25 03:36:45 +0100
committerJohannes Schickel2011-02-25 03:36:45 +0100
commit4f3a244f16baeaf06825dbbc7b65f453011fb07c (patch)
treeefab398612cf786562318f06d96894589d2d9649 /backends
parent972cdaea358160f56880ef82b2527c1ebb320c8a (diff)
downloadscummvm-rg350-4f3a244f16baeaf06825dbbc7b65f453011fb07c.tar.gz
scummvm-rg350-4f3a244f16baeaf06825dbbc7b65f453011fb07c.tar.bz2
scummvm-rg350-4f3a244f16baeaf06825dbbc7b65f453011fb07c.zip
OPENGLSDL: Add RGB555 to the supported format list.
Diffstat (limited to 'backends')
-rw-r--r--backends/graphics/openglsdl/openglsdl-graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index c7ce0aa7de..183d0afba2 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -121,6 +121,7 @@ void OpenGLSdlGraphicsManager::detectSupportedFormats() {
#endif
Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0), // RGB565
Graphics::PixelFormat(2, 5, 5, 5, 1, 11, 6, 1, 0), // RGB5551
+ Graphics::PixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0), // RGB555
Graphics::PixelFormat(2, 4, 4, 4, 4, 12, 8, 4, 0), // RGBA4444
#ifndef USE_GLES
Graphics::PixelFormat(2, 4, 4, 4, 4, 8, 4, 0, 12) // ARGB4444