Go to the documentation of this file.00001 #ifndef GLW_COMMON_H
00002 #define GLW_COMMON_H
00003
00004 #include <assert.h>
00005
00006 #include "./config.h"
00007
00008 #define GLW_DONT_CARE (0xFFFFFFFF)
00009 #define GLW_CARE_OF(X) ((X) != GLW_DONT_CARE)
00010
00011 #define GLW_CHECK_GL_ERROR GLW_ASSERT(glGetError() == GL_NO_ERROR)
00012 #define GLW_CHECK_GL_READ_FRAMEBUFFER_STATUS GLW_ASSERT(glCheckFramebufferStatus(GL_READ_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE)
00013 #define GLW_CHECK_GL_DRAW_FRAMEBUFFER_STATUS GLW_ASSERT(glCheckFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE)
00014 #define GLW_CHECK_GL_READ_DRAW_FRAMEBUFFER_STATUS GLW_ASSERT(glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE)
00015
00016 namespace glw
00017 {
00018
00019 namespace detail
00020 {
00021
00022 }
00023
00024 };
00025
00026 #endif // GLW_COMMON_H