egl/x11: fix build with DRI3 disabled
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 29 May 2018 15:59:18 +0000 (16:59 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 29 May 2018 16:01:21 +0000 (17:01 +0100)
commit1945231b48df8ffcfa2eb168f81c3f5984433b01
treef83d21a1659cd515d04a49f3114ebe22e1452528
parent63b95fb291d7978e300c496cedc0851261101332
egl/x11: fix build with DRI3 disabled

Fixes: 473af0b541b2583f4c72 "egl/x11: deduplicate depth-to-format logic"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Yogesh Marathe <yogesh.marathe@intel.com>
src/egl/drivers/dri2/platform_x11.c