mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
egl: replace another DRI2_FLUSH check with a non-kms_swrast check in surface query
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30494>
This commit is contained in:
parent
3b050af311
commit
1d41299109
1 changed files with 1 additions and 1 deletions
|
|
@ -616,7 +616,7 @@ dri2_query_surface(_EGLDisplay *disp, _EGLSurface *surf, EGLint attribute,
|
|||
bool changed = surf->Width != w || surf->Height != h;
|
||||
surf->Width = w;
|
||||
surf->Height = h;
|
||||
if (changed && dri2_dpy->flush)
|
||||
if (changed && !dri2_dpy->swrast_not_kms)
|
||||
dri_invalidate_drawable(drawable);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue