Remove dead legacy storage fallback and hide GLFW state
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user