mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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>
This commit is contained in:
parent
44f017d03e
commit
f1ddebd865
4 changed files with 70 additions and 31 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue