diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-16 14:07:31 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-16 14:07:31 -0700 |
commit | 56cd48e0e1d78f539079dcdb20cf043ae8cf4b4b (patch) | |
tree | 0f27e3c9403c8b2fd121109121c75c126812b13f /tests/sdl_alloctext.c | |
parent | c8424ffa1546c67eb2c08cb1860630a99b2efd22 (diff) |
fix test_sdl_alloctext
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; |