Remove dead legacy GLFW retained state
This commit is contained in:
@@ -202,7 +202,6 @@ int main()
|
||||
if (glfwInit() != GL_TRUE)
|
||||
printf("Failed to init GLFW");
|
||||
wnd = glfwCreateWindow(1024, 768, "PanoPainter", nullptr, nullptr);
|
||||
pp::platform::legacy::set_legacy_glfw_window(wnd);
|
||||
g_platform_services = pp::platform::legacy::create_platform_services({
|
||||
.acquire_render_context = [wnd] { glfwMakeContextCurrent(wnd); },
|
||||
.present_render_context = [wnd] { glfwSwapBuffers(wnd); },
|
||||
|
||||
Reference in New Issue
Block a user