diff options
author | Boyan Ding <[email protected]> | 2015-06-13 15:33:20 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-06-25 15:17:02 +0100 |
commit | da588875ce25e339d72b45b5cd60b39c96a5bd62 (patch) | |
tree | 83204085518c3df930f0cbdf5bd5d24fd626cdfb | |
parent | 684c81a75fba70cafef8583a031e3d2af55bb429 (diff) |
egl/x11: Remove duplicate call to dri2_x11_add_configs_for_visuals
The call to dri2_x11_add_configs_for_visuals (previously
dri2_add_configs_for_visuals) was moved downwards in commit f8c5b8a1,
but appeared again in its original position after its rename in
d019cd81. Remove it.
Cc: "10.5 10.6" <[email protected]>
Signed-off-by: Boyan Ding <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
(cherry picked from commit 3fa9bb81ec8b21f472de32e08d0caf917239da08)
-rw-r--r-- | src/egl/drivers/dri2/platform_x11.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index e78dfbd9a8d..809974b58ce 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -1283,11 +1283,6 @@ dri2_initialize_x11_dri2(_EGLDriver *drv, _EGLDisplay *disp) dri2_x11_setup_swap_interval(dri2_dpy); - if (dri2_dpy->conn) { - if (!dri2_x11_add_configs_for_visuals(dri2_dpy, disp)) - goto cleanup_configs; - } - disp->Extensions.KHR_image_pixmap = EGL_TRUE; disp->Extensions.NOK_swap_region = EGL_TRUE; disp->Extensions.NOK_texture_from_pixmap = EGL_TRUE; |