egl/wayland: remove non-applicable destroyDrawable from error path
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 11 Nov 2016 16:45:00 +0000 (16:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 21 Nov 2016 14:46:40 +0000 (14:46 +0000)
commit130b12f96a4e60c88e8ccd5e673413e0a8c0c127
tree23c98598e966d0eea4184c64ed8e60319d9909dd
parentb421fec95804a9d33cc8d40d313ad7bd629f3178
egl/wayland: remove non-applicable destroyDrawable from error path

If we fail to create the drawable there's not much point in attampting
to destroy it.

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