mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 23:28:04 -04:00
add some sdl code from rearmed
This commit is contained in:
parent
b98018548f
commit
e81b987fc1
4 changed files with 269 additions and 2 deletions
11
plat_sdl.h
Normal file
11
plat_sdl.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include <SDL.h>
|
||||
|
||||
extern SDL_Surface *plat_sdl_screen;
|
||||
extern SDL_Overlay *plat_sdl_overlay;
|
||||
extern int plat_sdl_gl_active;
|
||||
|
||||
int plat_sdl_init(void);
|
||||
int plat_sdl_change_video_mode(int w, int h);
|
||||
void plat_sdl_overlay_clear(void);
|
||||
void plat_sdl_event_handler(void *event_);
|
||||
void plat_sdl_finish(void);
|
Loading…
Add table
Add a link
Reference in a new issue