diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-11 11:09:26 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-12-17 12:44:01 +0100 |
commit | f1ddebd8651c023409d3505f83416f65ce088961 (patch) | |
tree | c7a215e931ab6de231f465b43f994e6b60776b0e /include/ui/sdl2.h | |
parent | 44f017d03e72484d47a2aefcbf452af0a9915fbc (diff) | |
download | qemu-f1ddebd8651c023409d3505f83416f65ce088961.zip qemu-f1ddebd8651c023409d3505f83416f65ce088961.tar.gz qemu-f1ddebd8651c023409d3505f83416f65ce088961.tar.bz2 |
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/ui/sdl2.h')
-rw-r--r-- | include/ui/sdl2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h index 77d800e..84c27f0 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 */ |