Do some clean up

This commit is contained in:
Xie Yi 2019-06-11 02:48:18 +08:00
parent bed47ea30a
commit d5d76b086f
2 changed files with 0 additions and 4 deletions

View file

@ -1,5 +1,4 @@
#import "AppDelegate.h"
#import "DisplayManager.h"
#import "ViewController.h"
#import "base/NativeApp.h"
#import "Core/System.h"

View file

@ -162,9 +162,6 @@ static GraphicsContext *graphicsContext;
[EAGLContext setCurrentContext:self.context];
self.preferredFramesPerSecond = 60;
// Might be useful for a speed boot, sacrificing resolution:
view.contentScaleFactor = screen.scale;
[[DisplayManager shared] updateResolution:[UIScreen mainScreen]];
graphicsContext = new IOSGraphicsContext();