ui/console: move check for compatible GL context
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 16 Feb 2022 13:35:28 +0000 (17:35 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 14 Mar 2022 11:15:34 +0000 (15:15 +0400)
commit398d1c91ed58fb7fe3dd3e9596519678c816bb69
tree56b9241729a2887479de47afc032329270cae1ad
parent1416688c53be6535be755b44c15fb2eb9defd20f
ui/console: move check for compatible GL context

Move GL context compatibility check in dpy_compatible_with(), and use
recommended error reporting.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
ui/console.c