mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 03:00:30 +01:00
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:
parent
76757c211d
commit
f1680c262c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue