aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texrender.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_texrender.c')
-rw-r--r--src/mesa/swrast/s_texrender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texrender.c b/src/mesa/swrast/s_texrender.c
index 47e458e1c5c..caa17f983e3 100644
--- a/src/mesa/swrast/s_texrender.c
+++ b/src/mesa/swrast/s_texrender.c
@@ -610,7 +610,7 @@ update_wrapper(struct gl_context *ctx, struct gl_renderbuffer_attachment *att)
trb->Base.DataType = CHAN_TYPE;
trb->Base._BaseFormat = GL_RGBA;
}
- trb->Base.Data = trb->TexImage->Base.Data;
+ trb->Base.Data = trb->TexImage->Data;
}