include/glwxOpenGL.h

Go to the documentation of this file.
00001 #ifndef GLWX_OPEN_GL_H
00002 #define GLWX_OPEN_GL_H
00003 
00004 #if defined(_WIN32)
00005 #define WIN32_LEAN_AND_MEAN
00006 #include <windows.h>
00007 #endif
00008 
00009 // Include platform specific OpenGL headers
00010 #if defined(__APPLE__)
00011 #include <OpenGL/gl.h>
00012 #include <OpenGL/glu.h>
00013 #else
00014 #include <GL/gl.h>
00015 #include <GL/glu.h>
00016 #endif
00017 
00018 //GL_BGR and GL_BGRA aren't always defined 
00019 #if !defined(GL_BGR)
00020 #define GL_BGR                            0x80E0
00021 #endif
00022 
00023 #if !defined(GL_BGRA)
00024 #define GL_BGRA                           0x80E1
00025 #endif
00026 
00027 #endif //GLWX_OPEN_GL_H
00028 

Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3