diff options
author | Brian Paul <[email protected]> | 2012-01-16 12:10:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:26 -0700 |
commit | 7a36345f70a0b8ac2d480bb52eb2c74c2be5a978 (patch) | |
tree | 9c2208246754d4f5f9310a261c653e45933b1c4e /src/mesa/swrast/s_texrender.c | |
parent | f6a3979a0444a14c198c10501e9ff13f24625443 (diff) |
mesa: rename gl_renderbuffer::Data to Buffer
To better indicate that this pointer to the malloc'd memory.
Diffstat (limited to 'src/mesa/swrast/s_texrender.c')
-rw-r--r-- | src/mesa/swrast/s_texrender.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_texrender.c b/src/mesa/swrast/s_texrender.c index 368fa98b214..af4be7bab1c 100644 --- a/src/mesa/swrast/s_texrender.c +++ b/src/mesa/swrast/s_texrender.c @@ -135,12 +135,12 @@ update_wrapper(struct gl_context *ctx, struct gl_renderbuffer_attachment *att) */ if (att->Texture->Target == GL_TEXTURE_3D || att->Texture->Target == GL_TEXTURE_2D_ARRAY_EXT) { - trb->Base.Data = trb->TexImage->Buffer + + trb->Base.Buffer = trb->TexImage->Buffer + trb->TexImage->ImageOffsets[trb->Zoffset] * _mesa_get_format_bytes(trb->TexImage->Base.TexFormat); } else { - trb->Base.Data = trb->TexImage->Buffer; + trb->Base.Buffer = trb->TexImage->Buffer; } /* XXX may need more special cases here */ |