do srgb gamma correction
removed atexit(SDL_Quit);