[Scummvm-cvs-logs] SF.net SVN: scummvm:[51721] scummvm/branches/gsoc2010-opengl/backends/ graphics/openglsdl/openglsdl-graphics.cpp
vgvgf at users.sourceforge.net
vgvgf at users.sourceforge.net
Wed Aug 4 06:23:00 CEST 2010
Revision: 51721
http://scummvm.svn.sourceforge.net/scummvm/?rev=51721&view=rev
Author: vgvgf
Date: 2010-08-04 04:23:00 +0000 (Wed, 04 Aug 2010)
Log Message:
-----------
OPENGL: Fix compiling for GLES.
Modified Paths:
--------------
scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp
Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp 2010-08-04 03:42:53 UTC (rev 51720)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp 2010-08-04 04:23:00 UTC (rev 51721)
@@ -174,7 +174,7 @@
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 @@
if (BGRList[i] != format)
_supportedFormats.push_back(BGRList[i]);
}
-
+#endif
_supportedFormats.push_back(Graphics::PixelFormat::createFormatCLUT8());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list