Eulerian Smoke Simulation on the GPU
include/GLUtil.h
Go to the documentation of this file.
00001 #ifndef __GL_UTIL_H__
00002 #define __GL_UTIL_H__
00003 
00004 //---------------------------------------------------------------------
00012 //---------------------------------------------------------------------
00013 
00014 #include <OpenGL.h>
00015 
00016 // define Apple specific OpenGL extensions
00017 #ifdef DARWIN
00018   #define glGenVertexArrays glGenVertexArraysAPPLE
00019   #define glBindVertexArray glBindVertexArrayAPPLE
00020   #define glDeleteVertexArrays glDeleteVertexArraysAPPLE
00021 #endif
00022 
00024 void checkFboCompleteness();
00025 
00030 bool getGLError(
00031                   const char* _errorMessage = 0
00032                );
00033 
00034 #endif // __GL_UTIL_H__
 All Classes Files Functions Variables