Skip to content

Commit 2babe2e

Browse files
committed
fix tests
1 parent 3a07fa6 commit 2babe2e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/darwin_desktop.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ @interface MobileGLView : NSOpenGLView<NSApplicationDelegate, NSWindowDelegate>
3434

3535
@implementation MobileGLView
3636
- (void)prepareOpenGL {
37+
[super prepareOpenGL];
38+
3739
[self setWantsBestResolutionOpenGLSurface:YES];
3840
GLint swapInt = 1;
3941

app/darwin_ios.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ - (void)touchesCanceled:(NSSet*)touches withEvent:(UIEvent*)event {
137137

138138
void runApp(void) {
139139
@autoreleasepool {
140-
UIApplicationMain(0, nil, nil, NSStringFromClass([GoAppAppDelegate class]));
140+
UIApplicationMain(0, nil, @"UIApplication", NSStringFromClass([GoAppAppDelegate class]));
141141
}
142142
}
143143

0 commit comments

Comments
 (0)