mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-29 07:12:30 +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 "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
|
||||||
|
|
Loading…
Reference in a new issue