diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-02-25 22:13:07 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-02-26 11:02:38 +0900 |
commit | 70a7d9d2c5b3531bdde1294c55d038376da91918 (patch) | |
tree | a53e52c5477c432a3c321ee565e62d7cb38be9c3 /waftools/fragments | |
parent | cf14511b1decda11c335cadda83e132024088966 (diff) | |
download | mpv-70a7d9d2c5b3531bdde1294c55d038376da91918.tar.bz2 mpv-70a7d9d2c5b3531bdde1294c55d038376da91918.tar.xz |
build: move QuartzCore linking to the cocoa check
It's needed for the DisplayLink functions so it must be enabled for the basic
cocoa code.
(cherry picked from commit 8e80b3fd2fea8bf11abaeb108d85b2bdfbe14695)
Diffstat (limited to 'waftools/fragments')
-rw-r--r-- | waftools/fragments/cocoa.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/waftools/fragments/cocoa.m b/waftools/fragments/cocoa.m index 8096afb613..3c6230401d 100644 --- a/waftools/fragments/cocoa.m +++ b/waftools/fragments/cocoa.m @@ -9,5 +9,7 @@ int main(int argc, char **argv) { NSArray *ary = @[@1, @2, @3]; NSLog(@"test subscripting: %@", ary[0]); NSApplicationLoad(); + CVDisplayLinkRef link; + CVDisplayLinkCreateWithCGDisplay(0, &link); } } |