diff options
author | George Sapountzis <gsapountzis@gmail.com> | 2010-03-19 19:16:21 +0000 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-03-20 12:59:58 +0800 |
commit | fe5f070ef94219f12196bff6cb3274756ea03660 (patch) | |
tree | 24a832e4e7c37115570b2fd37996a1117ddda5ae | |
parent | 92827cd4511fabcaeb8abfdd11122e04502d5944 (diff) |
st/dri: fix bug in make_currentgallium-st-api-dri
-rw-r--r-- | src/gallium/state_trackers/dri/dri_context.c | 2 |
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); |