Message ID | 1464937468-14816-3-git-send-email-kraxel@redhat.com |
---|---|
State | Accepted |
Commit | daafc661cc1a1de5a2e8ea0a7c0f396b827ebc3b |
Headers | show |
diff --git a/ui/spice-core.c b/ui/spice-core.c index 61db3c1..da05054 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -833,9 +833,11 @@ void qemu_spice_init(void) "incompatible with -spice port/tls-port"); exit(1); } - if (egl_rendernode_init() == 0) { - display_opengl = 1; + if (egl_rendernode_init() != 0) { + error_report("Failed to initialize EGL render node for SPICE GL"); + exit(1); } + display_opengl = 1; } #endif }