egl/drm: use gbm_dri_surface() wrapper
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 9 Aug 2018 14:11:38 +0000 (15:11 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Aug 2018 10:53:20 +0000 (11:53 +0100)
commit7b4269a5e044dcebc7f08b933b57f1eb7ae0406e
tree804d0efa0a6fabdf996d0d08965d44f8b0fb8cf3
parent7eb4a28d41c44d4457a40416305763faaf30ac3c
egl/drm: use gbm_dri_surface() 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