]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_textures.c
Argh. Fix my last fix :( changed the wrong field to GL_TEXTURE_2D.
[xonotic/darkplaces.git] / gl_textures.c
index 24b6aa53c297ff05a907eef1a33a6e21f6a61469..ded21684571cd6f05907751f46da198807d91a11 100644 (file)
@@ -1972,7 +1972,7 @@ rtexture_t *R_LoadTextureRenderBuffer(rtexturepool_t *rtexturepool, const char *
        glt->texnum = 0;
        glt->dirty = false;
        glt->glisdepthstencil = textype == TEXTYPE_DEPTHBUFFER24STENCIL8;
-       glt->gltexturetypeenum = gltexturetypeenums[glt->texturetype];
+       glt->gltexturetypeenum = GL_TEXTURE_2D;
        // init the dynamic texture attributes, too [11/22/2007 Black]
        glt->updatecallback = NULL;
        glt->updatacallback_data = NULL;