Skip to content

Commit 4106dae

Browse files
committed
macOS compilation fix
1 parent abb62c0 commit 4106dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/NVGSurface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void NVGSurface::updateWindowContextVisibility()
162162
#if NANOVG_GL_IMPLEMENTATION
163163
glContext->setVisible(!renderThroughImage);
164164
#else
165-
OSUtils::MTLSetVisible(getView(), !shouldRenderThroughImage);
165+
OSUtils::MTLSetVisible(getView(), !renderThroughImage);
166166
#endif
167167
}
168168

0 commit comments

Comments
 (0)