diff options
author | Brian Paul <[email protected]> | 2011-04-05 07:51:01 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-04-05 07:51:01 -0600 |
commit | db0f9e701d59dcfcd3b50f4d245897692f27fec9 (patch) | |
tree | 7ac61092cbfc0a9a76ee66ca244fb804e9ddd611 /src/mesa/main/teximage.c | |
parent | e9375cd0e895ac2c3e7ff17f18da7a7f8cd3a82d (diff) |
mesa: added _mesa_get_attachment_teximage() helpers
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 86927d3b661..6161eb41456 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2251,7 +2251,7 @@ check_rtt_cb(GLuint key, void *data, void *userData) att->Texture == texObj && att->TextureLevel == level && att->CubeMapFace == face) { - ASSERT(att->Texture->Image[att->CubeMapFace][att->TextureLevel]); + ASSERT(_mesa_get_attachment_teximage(att)); /* Tell driver about the new renderbuffer texture */ ctx->Driver.RenderTexture(ctx, ctx->DrawBuffer, att); /* Mark fb status as indeterminate to force re-validation */ |