Changeset 2f9f352 in buchla-emu for emu/sdl.c


Ignore:
Timestamp:
07/22/2017 03:27:04 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
d94a7be
Parents:
de65155
Message:

Added SDL2_ttf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • emu/sdl.c

    rde65155 r2f9f352  
    3232
    3333        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        }
    3438}
    3539
    3640void sdl_quit(void)
    3741{
     42        TTF_Quit();
    3843        SDL_Quit();
    3944}
Note: See TracChangeset for help on using the changeset viewer.