aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/openglsdl
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-26 06:52:58 +0000
committerAlejandro Marzini2010-07-26 06:52:58 +0000
commit738a9e78d8e0c2fc096006fd38d66ac743cb7a3d (patch)
treeef89c085092088a29aaae9201d43f69fab10178c /backends/graphics/openglsdl
parent856c6a18afbc7f4611898731db5e1235a6572ff4 (diff)
downloadscummvm-rg350-738a9e78d8e0c2fc096006fd38d66ac743cb7a3d.tar.gz
scummvm-rg350-738a9e78d8e0c2fc096006fd38d66ac743cb7a3d.tar.bz2
scummvm-rg350-738a9e78d8e0c2fc096006fd38d66ac743cb7a3d.zip
OPENGL: Implement saveScreenshot().
svn-id: r51299
Diffstat (limited to 'backends/graphics/openglsdl')
-rw-r--r--backends/graphics/openglsdl/openglsdl-graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index e97e1f2b4f..238a8f5c21 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -207,6 +207,8 @@ bool OpenGLSdlGraphicsManager::loadGFXMode() {
}
}
+ _formatBGR = _hwscreen->format->Rshift != 0;
+
return OpenGLGraphicsManager::loadGFXMode();
}