egl: Move loader_set_logger() up to egl_dri2.c.
authorEric Anholt <eric@anholt.net>
Thu, 15 Nov 2018 22:47:30 +0000 (14:47 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 16 Nov 2018 23:38:18 +0000 (15:38 -0800)
commit2bc1f5c2e70fe3b4d41f060af9859bc2a94c5b62
tree251a8751e075efea7776ea63e7e2649dd225872c
parentc2b515379bfc669660133bb2d25e50bb04ac0d66
egl: Move loader_set_logger() up to egl_dri2.c.

Everyone needs to call it, and platform_x11 forgot to.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/platform_android.c
src/egl/drivers/dri2/platform_drm.c
src/egl/drivers/dri2/platform_surfaceless.c
src/egl/drivers/dri2/platform_wayland.c