From f1ddebd8651c023409d3505f83416f65ce088961 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 11 Nov 2014 11:09:26 +0100 Subject: 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 Reviewed-by: Max Reitz --- include/ui/sdl2.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/ui') 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 */ -- cgit v1.1