Browse Source

NSViewComponentPeer: Fix rendering issue changing size of AUv2 window when JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS is enabled

v7.0.9
reuk 2 years ago
parent
commit
13f0e75ab0
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      modules/juce_gui_basics/native/juce_NSViewComponentPeer_mac.mm

+ 0
- 1
modules/juce_gui_basics/native/juce_NSViewComponentPeer_mac.mm View File

@@ -2119,7 +2119,6 @@ struct JuceNSViewClass : public NSViewComponentPeerWrapper<ObjCClass<NSView>>
layer.framebufferOnly = NO;
layer.pixelFormat = MTLPixelFormatBGRA8Unorm_sRGB;
layer.opaque = getOwner (self)->getComponent().isOpaque();
layer.autoresizingMask = kCALayerHeightSizable | kCALayerWidthSizable;
layer.needsDisplayOnBoundsChange = YES;
layer.drawsAsynchronously = YES;
layer.delegate = owner->layerDelegate.get();


Loading…
Cancel
Save