diff options
Diffstat (limited to 'tests/sdl_alloctext.c')
-rw-r--r-- | tests/sdl_alloctext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sdl_alloctext.c b/tests/sdl_alloctext.c index 3def2b28..173be348 100644 --- a/tests/sdl_alloctext.c +++ b/tests/sdl_alloctext.c @@ -9,6 +9,7 @@ int main() SDL_Init(SDL_INIT_VIDEO); SDL_Surface *screen = SDL_SetVideoMode(600, 450, 32, SDL_HWSURFACE); + TTF_Init(); TTF_Font *font = TTF_OpenFont("myfont.ttf", 40); int i = 0; |