Zeta GUI library overview
[zeta.git] / src / zeta_sdl.cpp
blob8cd25e387c70e55f6c19f6ab327b7e2c92f3aa89
1 #include "zeta_begin.h"
3 #include "zeta_sdl.h"
5 zeta_interface_sdl::zeta_interface_sdl() {
6 if(!SDL_WasInit(SDL_INIT_VIDEO)) SDL_Init(SDL_VIDEO);
7 if(!SDL_WasInit(SDL_INIT_TIMER)) SDL_Init(SDL_TIMER);
8 if(!TTF_WasInit()) TTF_Init();
11 #include "zeta_end.h"