egl-helpers: add missing error check
commit151c8e608efc29e4dde4a0dbc2e79ebbc86c319c
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 5 May 2017 10:40:59 +0000 (5 12:40 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 12 May 2017 10:02:48 +0000 (12 12:02 +0200)
treeac1d6e7c95a633cf3e72113141e590864c982e8e
parente1913dbb58e7a4ab0c2dd088cc3b397b8daed8c5
egl-helpers: add missing error check

Code didn't check for qemu_egl_init_dpy_mesa() failures, add it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20170505104101.30589-5-kraxel@redhat.com
ui/egl-helpers.c