windows doesn't define GL_RGB32F.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5562 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-10-06 05:36:22 +00:00
parent 9ef5d8da85
commit 0a88ecfb33
1 changed files with 9 additions and 6 deletions

View File

@ -906,19 +906,22 @@ typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
#endif
#ifndef GL_TEXTURE_LOD_BIAS
#define GL_TEXTURE_LOD_BIAS 0x8501 //gl1.4
#define GL_TEXTURE_LOD_BIAS 0x8501 //gl1.4
#endif
#ifndef GL_RGBA16
#define GL_RGBA16 0x805B //gl1.1, but not in gles.
#define GL_RGBA16 0x805B //gl1.1, but not in gles.
#endif
#ifndef GL_RGBA16F
#define GL_RGBA16F 0x881A
#define GL_RGBA32F 0x8814
#define GL_RGBA16F 0x881A
#define GL_RGBA32F 0x8814
#endif
#ifndef GL_RGB32F
#define GL_RGB32F 0x8815
#endif
#ifndef GL_R16F
#define GL_R16F 0x822D
#define GL_R32F 0x822E
#define GL_R16F 0x822D
#define GL_R32F 0x822E
#endif
#ifndef GL_RED