From d6c5d19aa7e419462f30bfb68f3d59a3133ec0db Mon Sep 17 00:00:00 2001 From: eihrul Date: Tue, 9 Dec 2014 13:38:22 +0000 Subject: [PATCH] gltexture_t->glisdepthstencil fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12107 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=22dac77bc9bd23097c69404c6d0f5160c5330dc1 --- gl_textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_textures.c b/gl_textures.c index 4617d0d6..24b6aa53 100644 --- a/gl_textures.c +++ b/gl_textures.c @@ -1971,7 +1971,7 @@ rtexture_t *R_LoadTextureRenderBuffer(rtexturepool_t *rtexturepool, const char * glt->sides = glt->texturetype == GLTEXTURETYPE_CUBEMAP ? 6 : 1; glt->texnum = 0; glt->dirty = false; - glt->glisdepthstencil = glt->texturetype == TEXTYPE_DEPTHBUFFER24STENCIL8; + glt->glisdepthstencil = textype == TEXTYPE_DEPTHBUFFER24STENCIL8; glt->gltexturetypeenum = gltexturetypeenums[glt->texturetype]; // init the dynamic texture attributes, too [11/22/2007 Black] glt->updatecallback = NULL; -- 2.39.2