fix spelling errors
Signed-off-by: Shengjing Zhu <i@zhsj.me>
This commit is contained in:
parent
a88faed6d3
commit
bbf1ffb8db
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")
|
if (name == "sdl")
|
||||||
return std::make_shared<sdl::Platform>(input_manager, display_frame, single_window);
|
return std::make_shared<sdl::Platform>(input_manager, display_frame, single_window);
|
||||||
|
|
||||||
WARNING("Unsupported platfrom '%s'", name);
|
WARNING("Unsupported platform '%s'", name);
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ Window::Window(const std::shared_ptr<Renderer> &renderer,
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
ERROR("Unknown subsystem (%d)", info.subsystem);
|
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_);
|
SDL_ShowWindow(window_);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue