Commits

Assaf Raman committed 622ff4f

GLES2 render system: Fixed win32 compile releated issues in OgreGLES2Prerequisites.h

Comments (0)

Files changed (1)

RenderSystems/GLES2/include/OgreGLES2Prerequisites.h

 
 #if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32)
 #	if !defined( __MINGW32__ )
+#		define __PRETTY_FUNCTION__ __FUNCTION__
 #		ifndef WIN32_LEAN_AND_MEAN
 #			define WIN32_LEAN_AND_MEAN 1
 #		endif
 #   define GL_BGRA  0x80E1
 #endif
 
+#if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32)
+// an error in all windows gles sdks...
+#   undef GL_OES_get_program_binary
+#endif
+
 #if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32) && !defined(__MINGW32__) && !defined(OGRE_STATIC_LIB)
 #   ifdef OGRE_GLES2PLUGIN_EXPORTS
 #       define _OgreGLES2Export __declspec(dllexport)