mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 11:20:49 +02:00
egl/kopper: Don't add EGL_SWAP_BEHAVIOR_PRESERVED_BIT configs
It's strictly inferior to EGL_EXT_buffer_age so apps shouldn't bother to begin with, and we don't communicate the surface preservation state to the backend so we don't handle it correctly in any case. Acked-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18214>
This commit is contained in:
parent
f70df74e0a
commit
f41a6504a1
1 changed files with 1 additions and 1 deletions
|
|
@ -1498,7 +1498,7 @@ dri2_initialize_x11_swrast(_EGLDisplay *disp)
|
|||
disp->Extensions.ANGLE_sync_control_rate = EGL_TRUE;
|
||||
}
|
||||
|
||||
if (!dri2_x11_add_configs_for_visuals(dri2_dpy, disp, true))
|
||||
if (!dri2_x11_add_configs_for_visuals(dri2_dpy, disp, !disp->Options.Zink))
|
||||
goto cleanup;
|
||||
|
||||
/* Fill vtbl last to prevent accidentally calling virtual function during
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue