st/dri: fix bug in make_current

This commit is contained in:
George Sapountzis 2010-03-19 19:16:21 +00:00 committed by Chia-I Wu
parent 92827cd451
commit fe5f070ef9

View file

@ -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);