support GL_BGR_EXT

This commit is contained in:
David Rose 2002-02-22 01:52:01 +00:00
parent bf18d91d80
commit 895fc18c45
1 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,12 @@
#define glDeleteTextures glDeleteTexturesEXT
#endif
#if !defined(GL_BGR) && defined(GL_BGR_EXT)
// These symbols are sometimes defined as _EXT variants.
#define GL_BGR GL_BGR_EXT
#define GL_BGRA GL_BGRA_EXT
#endif
TypeHandle GLGraphicsStateGuardian::_type_handle;
#if !defined(CPPPARSER) && defined(DO_PSTATS)