Own Linux title callback and trim Win32 key state
This commit is contained in:
@@ -58,18 +58,6 @@ namespace {
|
||||
void App::set_platform_services(pp::platform::PlatformServices* services) noexcept
|
||||
{
|
||||
platform_services_ = services;
|
||||
#ifdef __LINUX__
|
||||
if (services)
|
||||
{
|
||||
pp::platform::linux_desktop::set_fps_title_callback([](std::string title) {
|
||||
pp::platform::legacy::set_legacy_glfw_window_title(title);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
pp::platform::linux_desktop::set_fps_title_callback({});
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
pp::platform::PlatformServices* App::platform_services() const noexcept
|
||||
|
||||
Reference in New Issue
Block a user