Backends: GLFW: Avoid using glfwGetError() and glfwGetGamepadState() on Emscripten. (#6240)

This commit is contained in:
ocornut
2023-03-14 15:56:38 +01:00
parent cc2177de15
commit e39c2552ac
3 changed files with 9 additions and 4 deletions

View File

@ -72,6 +72,7 @@
-(void)updateAndDrawDemoView
{
// Start the Dear ImGui frame
ImGuiIO& io = ImGui::GetIO();
ImGui_ImplOpenGL2_NewFrame();
ImGui_ImplOSX_NewFrame(self);
ImGui::NewFrame();