Commit graph

6 commits

Author SHA1 Message Date
Julien Isorce
5667d34182 examples: initialize NSApp at the beginning 2015-03-14 08:37:52 +00:00
Thijs Vermeir
6215b5dd14 gl/cocoa: Fix example on Mac OS X 10.10
Using NSApp directly seems to confuse something, as the compiler
was expecting an id<NSFileManagerDelegate>. Switched to using
[NSApplication sharedApplication], and specified the delegate
protocol on the window class as well.

Similar to https://bugzilla.gnome.org/show_bug.cgi?id=738740
2014-12-01 10:59:32 +01:00
Sebastian Dröge
13c8517570 gl/cocoa: Remove GNUStep support
Until gcc and GNUStep properly support Objective-C blocks and other
"new" features of Objective-C we can't properly support them without
making the code much more ugly.

https://bugzilla.gnome.org/show_bug.cgi?id=739152
2014-11-13 12:01:19 +01:00
Julien Isorce
619e7be748 gl: pass NSView instead of NSWindow in cocoa-videooverlay example
https://bugzilla.gnome.org/show_bug.cgi?id=728451
2014-05-02 06:03:23 +01:00
Julien Isorce
e42d40c063 gl: add copyright to cocoa example 2014-05-02 06:03:22 +01:00
Julien Isorce
6f5ecebb6a gl: rename cocoa example and move it to its parent directory 2014-05-02 06:03:22 +01:00
Renamed from tests/examples/gl/cocoa/videooverlay/main.m (Browse further)