#pragma once #include #include static int sdl_error(int rv) { SDL_Log("%s\n", SDL_GetError()); return rv; }