kopper: increment lastStamp during invalidate
this is functionally equivalent Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400>
This commit is contained in:
committed by
Marge Bot
parent
76757c211d
commit
f1680c262c
@@ -66,7 +66,7 @@ kopper_invalidate_drawable(__DRIdrawable *dPriv)
|
||||
{
|
||||
struct dri_drawable *drawable = dri_drawable(dPriv);
|
||||
|
||||
drawable->texture_stamp = drawable->lastStamp - 1;
|
||||
drawable->lastStamp++;
|
||||
|
||||
p_atomic_inc(&drawable->base.stamp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user