Added code to force reloading of panda_glext.h

This commit is contained in:
Josh Yelon 2005-11-16 20:28:13 +00:00
parent 48694b4283
commit 85edfbbaed
1 changed files with 11 additions and 0 deletions

View File

@ -37,6 +37,17 @@
// This file is not protected from multiple inclusion; it may need to
// be included multiple times.
// This forces the stuff in panda_glext.h to be reloaded,
// if it was already loaded.
#if defined(GL_GLEXT_VERSION) && GL_GLEXT_VERSION < 29
#undef GL_GLEXT_VERSION
#undef GL_GLEXT_PROTOTYPES
#undef GL_VERSION_1_2
#undef GL_VERSION_1_3
#undef GL_VERSION_1_4
#undef GL_VERSION_1_5
#endif
#include "panda_glext.h"
#include "glmisc_src.h"