1
0
Fork 0
forked from fte/fteqw

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

View file

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