summary refs log tree commit diff stats
path: root/ui/shader.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-02-16 20:16:55 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-14 15:16:11 +0400
commit4b7b661d8feccb8d12289bce7814e89ef827ecce (patch)
tree9e8a8e4ad7b096ed368d33fc7bd598f5688f0e4d /ui/shader.c
parent417a231947fb19b842fec3922713ffe3142b2c6c (diff)
downloadfocaccia-qemu-4b7b661d8feccb8d12289bce7814e89ef827ecce.tar.gz
focaccia-qemu-4b7b661d8feccb8d12289bce7814e89ef827ecce.zip
ui/console: move console compatibility check to dcl_display_console()
The current checks are done at registration time only. However, if a DCL
has no specific console specified, it may be switched dynamically with
console_select() later on.

Let's move the checks when displaychangelistener_display_console() is
called, which includes registration time and remains fatal if the
specified console is incompatible.

Note: we may want to display the compatibility error to the DCL, this is
left for a future improvement.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/shader.c')
0 files changed, 0 insertions, 0 deletions