ui: factor out qemu_console_set_display_gl_ctx()
commit4f4181499170dcf80182745b319607802ea32896
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 25 Jan 2021 10:53:18 +0000 (25 14:53 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 21 Dec 2021 06:50:21 +0000 (21 10:50 +0400)
treedf9d6c19806cfc3db5f586593d53bbdfc3a21dc6
parentca19ef52999251443b511b53e7b0498dd247261e
ui: factor out qemu_console_set_display_gl_ctx()

The next patch will make use of this function to dissociate
DisplayChangeListener from GL context.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
include/ui/console.h
ui/console.c