commit
2d979b8a1e
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ std::shared_ptr<BasePlatform> create(const std::string &name,
|
|||
if (name == "sdl")
|
||||
return std::make_shared<sdl::Platform>(input_manager, display_frame, single_window);
|
||||
|
||||
WARNING("Unsupported platfrom '%s'", name);
|
||||
WARNING("Unsupported platform '%s'", name);
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ Window::Window(const std::shared_ptr<Renderer> &renderer,
|
|||
#endif
|
||||
default:
|
||||
ERROR("Unknown subsystem (%d)", info.subsystem);
|
||||
BOOST_THROW_EXCEPTION(std::runtime_error("SDL subsystem not suported"));
|
||||
BOOST_THROW_EXCEPTION(std::runtime_error("SDL subsystem not supported"));
|
||||
}
|
||||
|
||||
SDL_ShowWindow(window_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue