aboutsummaryrefslogtreecommitdiff
path: root/ui/sdl2-gl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-06-05 15:14:42 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-19 12:42:03 +0200
commit9badf12ac20df80542f642d3dab7b2f1a95b20f5 (patch)
tree5163ae90a306f525606399b40219cc2e1af008a5 /ui/sdl2-gl.c
parentb1cf266c82cb1211ee2785f1813a6a3f3e693390 (diff)
downloadqemu-9badf12ac20df80542f642d3dab7b2f1a95b20f5.zip
qemu-9badf12ac20df80542f642d3dab7b2f1a95b20f5.tar.gz
qemu-9badf12ac20df80542f642d3dab7b2f1a95b20f5.tar.bz2
ui+display: rename is_placeholder() -> surface_is_placeholder()
No functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240605131444.797896-3-kraxel@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'ui/sdl2-gl.c')
-rw-r--r--ui/sdl2-gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/sdl2-gl.c b/ui/sdl2-gl.c
index 28d7966..91b7ee2 100644
--- a/ui/sdl2-gl.c
+++ b/ui/sdl2-gl.c
@@ -89,7 +89,7 @@ void sdl2_gl_switch(DisplayChangeListener *dcl,
scon->surface = new_surface;
- if (is_placeholder(new_surface) && qemu_console_get_index(dcl->con)) {
+ if (surface_is_placeholder(new_surface) && qemu_console_get_index(dcl->con)) {
qemu_gl_fini_shader(scon->gls);
scon->gls = NULL;
sdl2_window_destroy(scon);