Remove dead legacy storage fallback and hide GLFW state

This commit is contained in:
2026-06-17 10:34:26 +02:00
parent 5491ed4bf5
commit f45fc8226c
8 changed files with 43 additions and 51 deletions

View File

@@ -121,7 +121,6 @@ void CanvasOnWheel(float y)
void StartApp()
{
App::I = &app;
pp::platform::legacy::set_legacy_glfw_window(wnd);
pp::platform::legacy::set_legacy_web_platform_services(g_web_platform_services.get());
app.set_platform_services(g_platform_services.get());
app.initLog();
@@ -206,7 +205,8 @@ int main()
if (glfwInit() != GL_TRUE)
printf("Failed to init GLFW");
wnd = glfwCreateWindow(1024, 768, "PanoPainter", nullptr, nullptr);
glfwMakeContextCurrent(wnd);
pp::platform::legacy::set_legacy_glfw_window(wnd);
pp::platform::legacy::acquire_legacy_glfw_render_context();
/*
glfwSetCursorPosCallback(wnd, [](GLFWwindow* wnd, double x, double y){