Mesa (master): mesa: minor clean up in check_begin_texture_render()
Brian Paul
brianp at kemper.freedesktop.org
Tue Oct 13 00:16:21 UTC 2009
Module: Mesa
Branch: master
Commit: b5d6a8e88fb970bce596adc10a8b22f6758591f0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5d6a8e88fb970bce596adc10a8b22f6758591f0
Author: Brian Paul <brianp at vmware.com>
Date: Mon Oct 12 18:09:32 2009 -0600
mesa: minor clean up in check_begin_texture_render()
---
src/mesa/main/fbobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 6e767bb..87061ae 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);
}
}
More information about the mesa-commit
mailing list