1 2 3 4 5 6 7 8 9
#include "FLD.hpp" #include <SDL2/SDL_log.h> FLD::Error FLD::sdlError() const { SDL_Log("SDL runtime error: %s", SDL_GetError()); return -1; }