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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user