- Timestamp:
- 08/01/2017 05:46:02 PM (7 years ago)
- Branches:
- master
- Children:
- bdd5a63
- Parents:
- 74c44d9
- Location:
- emu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
emu/all.h
r74c44d9 rea878ba 28 28 29 29 #include <SDL2/SDL.h> 30 #include <SDL2/SDL_net.h> 30 31 #include <SDL2/SDL_ttf.h> 31 32 -
emu/sdl.c
r74c44d9 rea878ba 33 33 SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_VERBOSE); 34 34 35 if (SDLNet_Init() < 0) { 36 fail("SDLNet_Init() failed: %s", SDLNet_GetError()); 37 } 38 35 39 if (TTF_Init() < 0) { 36 40 fail("TTF_Init() failed: %s", TTF_GetError()); … … 44 48 { 45 49 TTF_Quit(); 50 SDLNet_Quit(); 46 51 SDL_Quit(); 47 52 }
Note:
See TracChangeset
for help on using the changeset viewer.