remove dependence of sdl