Split Android storage paths from legacy fallback
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include <functional>
|
||||
|
||||
#ifdef __LINUX__
|
||||
#include <GLFW/glfw3.h>
|
||||
#include "platform_linux/linux_platform_services.h"
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
@@ -62,12 +61,8 @@ void App::set_platform_services(pp::platform::PlatformServices* services) noexce
|
||||
#ifdef __LINUX__
|
||||
if (services)
|
||||
{
|
||||
pp::platform::linux_desktop::set_fps_title_callback([this](std::string title) {
|
||||
auto* const window = pp::platform::legacy::active_legacy_glfw_window_state().window;
|
||||
if (!window)
|
||||
return;
|
||||
|
||||
glfwSetWindowTitle(window, title.c_str());
|
||||
pp::platform::linux_desktop::set_fps_title_callback([](std::string title) {
|
||||
pp::platform::legacy::set_legacy_glfw_window_title(title);
|
||||
});
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user