|
From: <cn...@us...> - 2009-06-27 22:22:34
|
Revision: 379
http://hgengine.svn.sourceforge.net/hgengine/?rev=379&view=rev
Author: cnlohr
Date: 2009-06-27 22:22:33 +0000 (Sat, 27 Jun 2009)
Log Message:
-----------
Check renderbuffer errors is an extension, not in the core.
Modified Paths:
--------------
Mercury2/src/GLHeaders.h
Modified: Mercury2/src/GLHeaders.h
===================================================================
--- Mercury2/src/GLHeaders.h 2009-06-27 22:22:09 UTC (rev 378)
+++ Mercury2/src/GLHeaders.h 2009-06-27 22:22:33 UTC (rev 379)
@@ -27,7 +27,7 @@
assert(0); } }
#define CHECKFBO { \
-uint32_t e = glCheckFramebufferStatus(GL_FRAMEBUFFER); \
+uint32_t e = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER); \
if ( e != GL_FRAMEBUFFER_COMPLETE ) { \
printf("GL FBO Error:%s\n", GlError2String(e).c_str()); \
assert(0); } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|