Skip to content

Commit 156dc51

Browse files
author
Tim
committed
Fix screensaver not building on recent versions of macOS.
1 parent 9e96c9b commit 156dc51

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/cinder/app/AppScreenSaver.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "cinder/CinderAssert.h"
2727

2828
#if defined( CINDER_MAC )
29+
#include <list>
2930
#import "cinder/app/cocoa/AppImplMacScreenSaver.h"
3031
#include "cinder/app/cocoa/PlatformCocoa.h"
3132
#include "cinder/ImageSourceFileQuartz.h"

‎src/cinder/app/cocoa/AppImplMacScreenSaver.mm‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ - (void)drawRect:(NSRect)rect
104104
[super drawRect:rect]; // draws black by default
105105
return;
106106
}
107+
108+
109+
[mCinderView draw];
107110
}
108111

109112
- (void)animateOneFrame

0 commit comments

Comments
 (0)