From 89da43fe5c0631da389d66d1b6348e2721c700ea Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 12 Mar 2013 23:19:00 +0000 Subject: [PATCH] ------------------------------------------------------------------------ r4247 | acceptthis | 2013-03-08 02:53:53 +0000 (Fri, 08 Mar 2013) | 1 line GL_DEPTH_COMPONENT missing on android. ------------------------------------------------------------------------ git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4243 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/glsupp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/gl/glsupp.h b/engine/gl/glsupp.h index f6adfd2be..52fbf17fa 100644 --- a/engine/gl/glsupp.h +++ b/engine/gl/glsupp.h @@ -28,6 +28,10 @@ extern qlpMTex2FUNC qglMultiTexCoord2fARB; #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 #endif +#ifndef GL_DEPTH_COMPONENT +#define GL_DEPTH_COMPONENT 0x1902 +#endif + //#ifndef GL_VERSION_1_2 #define GL_CLAMP_TO_EDGE 0x812F //#endif