summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-11-11 11:09:26 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-12-17 12:44:01 +0100
commitf1ddebd8651c023409d3505f83416f65ce088961 (patch)
treec7a215e931ab6de231f465b43f994e6b60776b0e /include
parent44f017d03e72484d47a2aefcbf452af0a9915fbc (diff)
downloadqemu-f1ddebd8651c023409d3505f83416f65ce088961.tar.gz
sdl2: move sdl_update to new sdl2-2d.c
Create new sdl2-2d file for 2d display rendering. Move over sdl_update code, and rename to sdl2_2d_update. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/ui/sdl2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h
index 77d800e18f..84c27f03fa 100644
--- a/include/ui/sdl2.h
+++ b/include/ui/sdl2.h
@@ -17,4 +17,7 @@ void sdl2_reset_keys(struct sdl2_console *scon);
void sdl2_process_key(struct sdl2_console *scon,
SDL_KeyboardEvent *ev);
+void sdl2_2d_update(DisplayChangeListener *dcl,
+ int x, int y, int w, int h);
+
#endif /* SDL2_H */