aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.m')
-rw-r--r--3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.m b/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.m
new file mode 100644
index 00000000..eabb44c1
--- /dev/null
+++ b/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.m
@@ -0,0 +1,12 @@
+
+#import "AppDelegate.h"
+
+@implementation AppDelegate
+
+#if TARGET_OS_OSX
+- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender {
+ return YES;
+}
+#endif
+
+@end