summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/state_trackers/dri/dri_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/dri_context.c b/src/gallium/state_trackers/dri/dri_context.c
index c1848b026c..54568a8b22 100644
--- a/src/gallium/state_trackers/dri/dri_context.c
+++ b/src/gallium/state_trackers/dri/dri_context.c
@@ -149,7 +149,7 @@ dri_make_current(__DRIcontext * cPriv,
}
if (ctx->rPriv != driReadPriv) {
ctx->rPriv = driReadPriv;
- draw->texture_stamp = driReadPriv->lastStamp - 1;
+ read->texture_stamp = driReadPriv->lastStamp - 1;
}
stapi->make_current(stapi, ctx->st, draw->stfb, read->stfb);