diff options
author | Johannes Schickel | 2012-08-09 03:09:01 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-08-09 03:09:01 +0200 |
commit | 5521261fdebb9388026457d7c2a92ad6abc149f1 (patch) | |
tree | ed57db9c7c8e90b74dc10b789b12f4485125b131 /backends/graphics | |
parent | fbf193f7562924e450961d92156fa915e8d69a68 (diff) | |
download | scummvm-rg350-5521261fdebb9388026457d7c2a92ad6abc149f1.tar.gz scummvm-rg350-5521261fdebb9388026457d7c2a92ad6abc149f1.tar.bz2 scummvm-rg350-5521261fdebb9388026457d7c2a92ad6abc149f1.zip |
OPENGL: Fix RGBA8888 mode setup.
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index c99652d2bd..48e2663d44 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -902,7 +902,7 @@ void OpenGLGraphicsManager::getGLPixelFormat(Graphics::PixelFormat pixelFormat, bpp = 4; intFormat = GL_RGBA; glFormat = GL_RGBA; - gltype = GL_UNSIGNED_BYTE; + gltype = GL_UNSIGNED_INT_8_8_8_8; } else if (pixelFormat == Graphics::PixelFormat(3, 8, 8, 8, 0, 16, 8, 0, 0)) { // RGB888 bpp = 3; intFormat = GL_RGB; |