Defined GL_BGRA_EXT so morphos and macosx crosscompilers can do the OpenGL targets again

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3058 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2008-11-12 12:05:29 +00:00
parent c41148705c
commit 41a92be8b2
1 changed files with 11 additions and 0 deletions

View File

@ -32,6 +32,17 @@ extern qlpMTex2FUNC qglMultiTexCoord2fARB;
#define GL_CLAMP_TO_EDGE 0x812F
//#endif
// Added to make morphos and mingw32 crosscompilers to work
/*
./gl/gl_draw.c: In function `GL_Upload32_BGRA':
./gl/gl_draw.c:3251: error: `GL_BGRA_EXT' undeclared (first use in this function)
./gl/gl_draw.c:3251: error: (Each undeclared identifier is reported only once
./gl/gl_draw.c:3251: error: for each function it appears in.)
*/
#ifndef GL_EXT_bgra
#define GL_BGR_EXT 0x80E0
#define GL_BGRA_EXT 0x80E1
#endif
#ifndef GL_ARB_multitexture
#define GL_ARB_multitexture 1