diff options
author | Alejandro Marzini | 2010-07-23 06:57:23 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-07-23 06:57:23 +0000 |
commit | bbdb87a83151e1fdf6770523f0a90fe825e88965 (patch) | |
tree | f138be84ddd577f713151caa3c71de6742f23a62 /backends/graphics/openglsdl | |
parent | ef880dd5daa205aefd425dae5dcf32e94d1f6723 (diff) | |
download | scummvm-rg350-bbdb87a83151e1fdf6770523f0a90fe825e88965.tar.gz scummvm-rg350-bbdb87a83151e1fdf6770523f0a90fe825e88965.tar.bz2 scummvm-rg350-bbdb87a83151e1fdf6770523f0a90fe825e88965.zip |
OPENGL: Add basic game screen drawing. Changed Overlay PixelFormat to RGBA5551.
svn-id: r51193
Diffstat (limited to 'backends/graphics/openglsdl')
-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 4b77cf6f17..aa0a9aa717 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -127,8 +127,8 @@ bool OpenGLSdlGraphicsManager::loadGFXMode() { _videoMode.overlayWidth = _videoMode.screenWidth * _videoMode.scaleFactor; _videoMode.overlayHeight = _videoMode.screenHeight * _videoMode.scaleFactor; if (!_screenResized) { - _videoMode.hardwareWidth = _videoMode.screenWidth * _videoMode.scaleFactor; - _videoMode.hardwareHeight = _videoMode.screenHeight * _videoMode.scaleFactor; + _videoMode.hardwareWidth = _videoMode.overlayWidth; + _videoMode.hardwareHeight = _videoMode.overlayHeight; } _screenResized = false; |