egl_dri2: move glFlush out of struct dri2_egl_driver
authorEric Engestrom <eric@engestrom.ch>
Tue, 26 Sep 2017 11:16:33 +0000 (12:16 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Wed, 18 Oct 2017 16:25:41 +0000 (17:25 +0100)
commit7823cfe9fe995e5dc1ec6c93bac3eb132ea84b41
tree5e51d46c5b81b9f56ce5ceac1385597019c7b6d0
parent3d0deed12ab3982cc183189f39c0df2793c2d94a
egl_dri2: move glFlush out of struct dri2_egl_driver

There's no reason to store this there, it doesn't depend on the driver.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h