[Scummvm-cvs-logs] SF.net SVN: scummvm:[50906] scummvm/branches/gsoc2010-opengl/backends/ graphics/opengl/glerrorcheck.cpp

vgvgf at users.sourceforge.net vgvgf at users.sourceforge.net
Thu Jul 15 06:05:21 CEST 2010


Revision: 50906
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50906&view=rev
Author:   vgvgf
Date:     2010-07-15 04:05:20 +0000 (Thu, 15 Jul 2010)

Log Message:
-----------
Fixed problem with OpenGL headers and windows.

Modified Paths:
--------------
    scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/glerrorcheck.cpp

Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/glerrorcheck.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/glerrorcheck.cpp	2010-07-15 04:01:41 UTC (rev 50905)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/glerrorcheck.cpp	2010-07-15 04:05:20 UTC (rev 50906)
@@ -28,6 +28,15 @@
 #include "backends/graphics/opengl/glerrorcheck.h"
 #include "common/debug.h"
 
+#ifdef WIN32
+#if defined(ARRAYSIZE) && !defined(_WINDOWS_)
+#undef ARRAYSIZE
+#endif
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#undef ARRAYSIZE
+#endif
+
 #ifdef USE_GLES
 #include <GLES/gl.h>
 #else


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