diff --git a/app/darwin_desktop.m b/app/darwin_desktop.m index cdd6b5f..071124f 100644 --- a/app/darwin_desktop.m +++ b/app/darwin_desktop.m @@ -34,6 +34,7 @@ uint64 threadID() { @implementation MobileGLView - (void)prepareOpenGL { + [super prepareOpenGL]; [self setWantsBestResolutionOpenGLSurface:YES]; GLint swapInt = 1; diff --git a/app/darwin_ios.m b/app/darwin_ios.m index 26a7d59..21d73a5 100644 --- a/app/darwin_ios.m +++ b/app/darwin_ios.m @@ -136,8 +136,9 @@ static void sendTouches(int change, NSSet* touches) { @end void runApp(void) { + char* argv[] = {}; @autoreleasepool { - UIApplicationMain(0, nil, nil, NSStringFromClass([GoAppAppDelegate class])); + UIApplicationMain(0, argv, nil, NSStringFromClass([GoAppAppDelegate class])); } }