Re: [PATCH] ui/console: Assert graphic console surface is not NULL

2021-02-19 Thread Gerd Hoffmann
On Fri, Feb 19, 2021 at 07:17:02PM +0900, Akihiko Odaki wrote: > ui/console used to accept NULL as graphic console surface, but its > semantics was inconsistent among displays: > - cocoa and gtk-egl perform NULL dereference. > - egl-headless, spice and spice-egl do nothing. > - gtk releases underly

[PATCH] ui/console: Assert graphic console surface is not NULL

2021-02-19 Thread Akihiko Odaki
ui/console used to accept NULL as graphic console surface, but its semantics was inconsistent among displays: - cocoa and gtk-egl perform NULL dereference. - egl-headless, spice and spice-egl do nothing. - gtk releases underlying resources. - sdl2-2d and sdl2-gl destroys the window. - vnc shows a m