Define GL_BGR, GL_BGRA if missing from gl.h. (win32 builds have v1.1 gl.h)

This commit is contained in:
Dabb 2000-07-06 09:36:31 +00:00
parent 289cfa557c
commit f934609bf2

View file

@ -53,6 +53,13 @@
#include "wad.h" #include "wad.h"
#include "client.h" #include "client.h"
#ifndef GL_BGR
#define GL_BGR 0x80E0
#endif
#ifndef GL_BGRA
#define GL_BGRA 0x80E1
#endif
#ifndef GLAPIENTRY #ifndef GLAPIENTRY
# ifdef APIENTRY # ifdef APIENTRY