Browse Source

Small tweak for 64-bit compatibility on Mac.

tags/2021-05-28
jules 16 years ago
parent
commit
f92fdfefe9
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      build/macosx/platform_specific_code/juce_mac_NSViewComponentPeer.mm
  2. +2
    -1
      juce_amalgamated.cpp

+ 1
- 1
build/macosx/platform_specific_code/juce_mac_NSViewComponentPeer.mm View File

@@ -1321,7 +1321,7 @@ void NSViewComponentPeer::drawRect (NSRect r)
context.setOrigin (originX, originY);
const NSRect* rects = 0;
int numRects = 0;
NSInteger numRects = 0;
[view getRectsBeingDrawn: &rects count: &numRects];
RectangleList clip;


+ 2
- 1
juce_amalgamated.cpp View File

@@ -267136,7 +267136,8 @@ void NSViewComponentPeer::drawRect (NSRect r)
context.setOrigin (originX, originY);

const NSRect* rects = 0;
int numRects = 0;
NSInteger numRects = 0;

[view getRectsBeingDrawn: &rects count: &numRects];

RectangleList clip;


Loading…
Cancel
Save