egl/drm: set eglError and provide an error message on failure
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 25 Aug 2016 14:52:58 +0000 (15:52 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:53:39 +0000 (12:53 +0100)
commit284795616a76787447ebf7db8b93d4b90073ccf5
treea0fd1031f2badc60559bacf3f47bf6948d6efd6c
parentd81ba763e38b726054dca5b59671ffa0166461b4
egl/drm: set eglError and provide an error message on failure

v2: Remove gratuitous newline/semicolon (Eric)

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