ui/console: assert(surface) where appropriate
commit0a1642e7ccdadf6c3da670369eeceec410dce058
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 30 Aug 2023 09:38:12 +0000 (30 13:38 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 4 Sep 2023 10:01:52 +0000 (4 14:01 +0400)
tree66902b75feed52a86d06e5e517e79c0735711dc0
parentb704a8ce0c17f2f9f50a62cbe9053ef587c35db4
ui/console: assert(surface) where appropriate

The QemuTextConsole code paths assume a surface is being used as
scanout, let's make this more explicit.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-39-marcandre.lureau@redhat.com>
ui/console.c