Revision: 547
http://hgengine.svn.sourceforge.net/hgengine/?rev=547&view=rev
Author: cnlohr
Date: 2009-10-02 06:48:35 +0000 (Fri, 02 Oct 2009)
Log Message:
-----------
forgot to commit this
Modified Paths:
--------------
Mercury2/src/GLHelpers.h
Modified: Mercury2/src/GLHelpers.h
===================================================================
--- Mercury2/src/GLHelpers.h 2009-10-02 06:47:57 UTC (rev 546)
+++ Mercury2/src/GLHelpers.h 2009-10-02 06:48:35 UTC (rev 547)
@@ -8,7 +8,11 @@
#include <RawImageData.h>
+#ifdef GL_PROFILE
#define GLCALL(x) x; ProfileGLCall(#x);
+#else
+#define GLCALL(x) x;
+#endif
MString GlError2String(uint32_t e);
void glLoadMatrix(const MercuryMatrix& m);
@@ -16,7 +20,9 @@
MercuryVertex pointFromScreenLoc(int screen_x, int screen_y);
unsigned int ToGLColorType(ColorByteType cbt);
+#ifdef GL_PROFILE
void ProfileGLCall(const MString& funcName);
+#endif
void PrintGLFunctionCalls();
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|