24 #define GLP(name) gl ## name 26 #ifndef STDFLOAT_DOUBLE 27 #define GLPf(name) gl ## name ## f 28 #define GLPfv(name) gl ## name ## fv 29 #else // STDFLOAT_DOUBLE 30 #define GLPf(name) gl ## name ## d 31 #define GLPfv(name) gl ## name ## dv 32 #endif // STDFLOAT_DOUBLE 34 #define CLP(name) GL ## name 35 #define GLPREFIX_QUOTED "gl" 36 #define CLASSPREFIX_QUOTED "GL" 37 #define GLSYSTEM_NAME "OpenGL" 38 #define CONFIGOBJ config_glgsg 39 #define GLCAT glgsg_cat 40 #define EXPCL_GL EXPCL_PANDA_GLGSG 41 #define EXPTP_GL EXPTP_PANDA_GLGSG 43 #if MIN_GL_VERSION_MAJOR > 1 || (MIN_GL_VERSION_MAJOR == 1 && MIN_GL_VERSION_MINOR >= 2) 44 #define EXPECT_GL_VERSION_1_2 47 #if MIN_GL_VERSION_MAJOR > 1 || (MIN_GL_VERSION_MAJOR == 1 && MIN_GL_VERSION_MINOR >= 3) 48 #define EXPECT_GL_VERSION_1_3 51 #if MIN_GL_VERSION_MAJOR > 1 || (MIN_GL_VERSION_MAJOR == 1 && MIN_GL_VERSION_MINOR >= 4) 52 #define EXPECT_GL_VERSION_1_4 55 #if MIN_GL_VERSION_MAJOR > 1 || (MIN_GL_VERSION_MAJOR == 1 && MIN_GL_VERSION_MINOR >= 5) 56 #define EXPECT_GL_VERSION_1_5 59 #if MIN_GL_VERSION_MAJOR > 2 || (MIN_GL_VERSION_MAJOR == 2 && MIN_GL_VERSION_MINOR >= 0) 60 #define EXPECT_GL_VERSION_2_0 63 #if MIN_GL_VERSION_MAJOR > 2 || (MIN_GL_VERSION_MAJOR == 2 && MIN_GL_VERSION_MINOR >= 1) 64 #define EXPECT_GL_VERSION_2_1 69 #ifndef WIN32_LEAN_AND_MEAN 70 #define WIN32_LEAN_AND_MEAN 1 78 #define GL_GLEXT_VERSION 0 81 #include <OpenGL/gl.h> 87 #undef GL_GLEXT_VERSION 88 #include "panda_glext.h" 90 #include "glstuff_src.h" PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.