aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/COpenGLCoreRenderTarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/COpenGLCoreRenderTarget.h')
-rw-r--r--source/Irrlicht/COpenGLCoreRenderTarget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/Irrlicht/COpenGLCoreRenderTarget.h b/source/Irrlicht/COpenGLCoreRenderTarget.h
index 0dd08eb..f893c17 100644
--- a/source/Irrlicht/COpenGLCoreRenderTarget.h
+++ b/source/Irrlicht/COpenGLCoreRenderTarget.h
@@ -10,6 +10,14 @@
#include "IRenderTarget.h"
+#ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS
+#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
+#endif
+
+#ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
+#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
+#endif
+
namespace irr
{
namespace video