mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 06:42:26 +00:00
Define GL_BGR, GL_BGRA if missing from gl.h. (win32 builds have v1.1 gl.h)
This commit is contained in:
parent
289cfa557c
commit
f934609bf2
1 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,13 @@
|
|||
#include "wad.h"
|
||||
#include "client.h"
|
||||
|
||||
#ifndef GL_BGR
|
||||
#define GL_BGR 0x80E0
|
||||
#endif
|
||||
|
||||
#ifndef GL_BGRA
|
||||
#define GL_BGRA 0x80E1
|
||||
#endif
|
||||
|
||||
#ifndef GLAPIENTRY
|
||||
# ifdef APIENTRY
|
||||
|
|
Loading…
Reference in a new issue