From: Brian Paul Date: Tue, 13 Oct 2009 00:09:32 +0000 (-0600) Subject: mesa: minor clean up in check_begin_texture_render() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5d6a8e88fb970bce596adc10a8b22f6758591f0;p=mesa.git mesa: minor clean up in check_begin_texture_render() --- diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 6e767bb24d1..87061aeb0d1 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -1129,7 +1129,7 @@ check_begin_texture_render(GLcontext *ctx, struct gl_framebuffer *fb) struct gl_renderbuffer_attachment *att = fb->Attachment + i; struct gl_texture_object *texObj = att->Texture; if (texObj - && att->Texture->Image[att->CubeMapFace][att->TextureLevel]) { + && texObj->Image[att->CubeMapFace][att->TextureLevel]) { ctx->Driver.RenderTexture(ctx, fb, att); } }