summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-12 18:09:32 -0600
committerBrian Paul <brianp@vmware.com>2009-10-12 18:12:01 -0600
commitb5d6a8e88fb970bce596adc10a8b22f6758591f0 (patch)
tree462b76932ebf2e51f6b34c314b0eb8f59ba7fe8d
parent47a7535f413d6467082de224f64eecc046227406 (diff)
mesa: minor clean up in check_begin_texture_render()
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 6e767bb24d..87061aeb0d 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);
}
}