From 0a88ecfb335508da79a85c4e2bf333ac83908c8a Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 6 Oct 2019 05:36:22 +0000 Subject: [PATCH] windows doesn't define GL_RGB32F. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5562 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/glsupp.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/engine/gl/glsupp.h b/engine/gl/glsupp.h index 854421d9..17492fa9 100644 --- a/engine/gl/glsupp.h +++ b/engine/gl/glsupp.h @@ -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