egl/drm: use gbm_dri_device() wrapper
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 9 Aug 2018 14:05:58 +0000 (15:05 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Aug 2018 10:52:48 +0000 (11:52 +0100)
commit7eb4a28d41c44d4457a40416305763faaf30ac3c
treea177ea21344c5d4a031f2d8d840404adb32a361a
parent2c049384b1638fb25e7f9cfd423500ac19a48b72
egl/drm: use gbm_dri_device() wrapper

Remove the explicit cast, using the appropriate wrapper instead.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/platform_drm.c