Examples: Apple+OpenGL: Fix build.

This commit is contained in:
omar 2022-05-09 11:30:52 +02:00 committed by GitHub
parent 693b4c57fe
commit 2fa60bec27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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