Own Linux title callback and trim Win32 key state

This commit is contained in:
2026-06-17 10:46:02 +02:00
parent 3941c54d90
commit 00f97c71b5
6 changed files with 23 additions and 20 deletions

View File

@@ -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