Browse Source

NSViewComponentPeer: Fix naming of drawRectWithContext

v6.1.6
reuk 4 years ago
parent
commit
49bbadbca9
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm

+ 1
- 1
modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm View File

@@ -896,7 +896,7 @@ public:
NSRect rect = rects[i];
CGContextSaveGState (cg);
CGContextClipToRect (cg, CGRectMake (rect.origin.x, rect.origin.y, rect.size.width, rect.size.height));
drawRect (cg, rect, displayScale);
drawRectWithContext (cg, rect, displayScale);
CGContextRestoreGState (cg);
}


Loading…
Cancel
Save