mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 09:40:29 +01:00
egl: delete a DRI2_FLUSH check in dri2 swapbuffers
this is always true here 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
af3aefda04
commit
e5f9d004bb
1 changed files with 1 additions and 2 deletions
|
|
@ -1093,8 +1093,7 @@ dri2_x11_swap_buffers_msc(_EGLDisplay *disp, _EGLSurface *draw, int64_t msc,
|
|||
* happened. The driver should still be using the viewport hack to catch
|
||||
* window resizes.
|
||||
*/
|
||||
if (dri2_dpy->flush->base.version >= 3 && dri2_dpy->flush->invalidate)
|
||||
dri2_dpy->flush->invalidate(dri2_surf->dri_drawable);
|
||||
dri2_dpy->flush->invalidate(dri2_surf->dri_drawable);
|
||||
|
||||
return swap_count;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue