- Timestamp:
- 07/22/2017 03:27:04 PM (7 years ago)
- Branches:
- master
- Children:
- d94a7be
- Parents:
- de65155
- Location:
- emu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
emu/all.h
rde65155 r2f9f352 27 27 28 28 #include <SDL2/SDL.h> 29 #include <SDL2/SDL_ttf.h> 29 30 30 31 #define inf(...) SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__); -
emu/sdl.c
rde65155 r2f9f352 32 32 33 33 SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_VERBOSE); 34 35 if (TTF_Init() < 0) { 36 fail("TTF_Init() failed: %s", TTF_GetError()); 37 } 34 38 } 35 39 36 40 void sdl_quit(void) 37 41 { 42 TTF_Quit(); 38 43 SDL_Quit(); 39 44 }
Note:
See TracChangeset
for help on using the changeset viewer.