Skip to content

Commit 5efb476

Browse files
committed
Fix for openGL
1 parent 5f4b54a commit 5efb476

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Source/NVGSurface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,9 @@ void NVGSurface::resized()
284284
#endif
285285
backupImageComponent.setBounds(editor->getLocalArea(this, getLocalBounds()));
286286
invalidateAll();
287+
#if NANOVG_METAL_IMPLEMENTATION
287288
render();
289+
#endif
288290
}
289291

290292
void NVGSurface::invalidateAll()

0 commit comments

Comments
 (0)