egl/wayland: Use MIN2 for wl_drm version
authorDaniel Stone <daniels@collabora.com>
Sat, 10 Jun 2017 13:54:44 +0000 (14:54 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 14 Jul 2017 13:14:05 +0000 (14:14 +0100)
commit5295df63ad7822e14e7dabfc107bc416271bfcdc
tree70a1a6cefe39c894fe22bbd555caff6ccb330ce0
parent4b8ef27e849311b8559ef77a37004e1370ce3dac
egl/wayland: Use MIN2 for wl_drm version

Use a slightly more explicit version cap for binding wl_drm, so we can
add other interfaces with different versioning schemes later.

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