This commit is contained in:
raziel1000 2024-07-25 01:15:44 -06:00 committed by georgemoralis
parent fa76a723ad
commit a11ac5a687
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ namespace Frontend {
WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_, WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_,
std::string_view game_title) std::string_view game_title)
: width{width_}, height{height_}, controller{controller_}{ : width{width_}, height{height_}, controller{controller_} {
if (SDL_Init(SDL_INIT_VIDEO) < 0) { if (SDL_Init(SDL_INIT_VIDEO) < 0) {
UNREACHABLE_MSG("Failed to initialize SDL video subsystem: {}", SDL_GetError()); UNREACHABLE_MSG("Failed to initialize SDL video subsystem: {}", SDL_GetError());
} }