diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-06-03 12:03:36 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2016-06-03 12:03:36 +0100 |
| commit | 6b3532b20b787cbd697a68b383232f5c3b39bd1e (patch) | |
| tree | 528ad89177395432a92c08840508bbd5025bb06f /ui/spice-core.c | |
| parent | defbaec16007bdf26e44c5add27e686f74dc94e5 (diff) | |
| parent | c5ce83334465ee5acb6789a2f22d125273761c9e (diff) | |
| download | focaccia-qemu-6b3532b20b787cbd697a68b383232f5c3b39bd1e.tar.gz focaccia-qemu-6b3532b20b787cbd697a68b383232f5c3b39bd1e.zip | |
Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160603-1' into staging
vnc: keyboard delay, colormap support ui: misc bugfixes # gpg: Signature made Fri 03 Jun 2016 08:02:32 BST using RSA key ID D3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" * remotes/kraxel/tags/pull-ui-20160603-1: vnc: add configurable keyboard delay sdl2: skip init without outputs vnc: Add support for color map SDL2: add bgrx pixel format gtk: fix unchecked vc dereference ui: spice: Exit if gl=on EGL init fails ui: egl: Replace fprintf with error_report Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui/spice-core.c')
| -rw-r--r-- | ui/spice-core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/spice-core.c b/ui/spice-core.c index 61db3c18b3..da0505434a 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 } |