Skip to content

Commit

Permalink
fix arc (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaChengTechnology authored Jan 21, 2022
1 parent 51b1b1a commit 167e960
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nn-editor/main.mm
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ int main(int argc, char* argv[])
bool done = false;
while (!done)
{
// @autoreleasepool
// {
@autoreleasepool
{
// Poll and handle events (inputs, window resize, etc.)
// You can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs.
// - When io.WantCaptureMouse is true, do not dispatch mouse input data to your main application.
Expand Down Expand Up @@ -158,7 +158,7 @@ int main(int argc, char* argv[])

[commandBuffer presentDrawable:drawable];
[commandBuffer commit];
// }
}
}

// Cleanup
Expand Down

0 comments on commit 167e960

Please sign in to comment.