egl/dri: factor out egl_error_from_dri_image_error
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 10 Oct 2017 11:58:47 +0000 (13:58 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 10 Oct 2017 11:58:47 +0000 (13:58 +0200)
commitd0d6efcc64d5d088f130fbaec5d47f5e8817fae2
treef49f40ed91d95f6a9dc6bda586977d02c551639a
parentf12e1c558614156fa1650abe4dc6b4ccec63bada
egl/dri: factor out egl_error_from_dri_image_error

Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/egl_dri2.c