egl/wayland: set the resize_callback if the flush extension is available
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 12 May 2017 13:22:51 +0000 (14:22 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 May 2017 15:59:46 +0000 (16:59 +0100)
commit429d56693d9eadf64fca20c9bf9f9415e68efd80
tree1e47358c1b86903984d4dd09f8976cec438a092e
parent6ef0fc400c690362b66add9c3533fae5f21d2cae
egl/wayland: set the resize_callback if the flush extension is available

Strictly speaking __DRI_DRI2 implies __DRI2_FLUSH. Although since we're
using the latter in the callback, we want to use the correct guard.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_wayland.c