Cocoa Port:

- Fix compiling by removing some future code that accidentally snuck into r5306.
This commit is contained in:
rogerman 2015-10-14 18:08:36 +00:00
parent 5b1a6e2cd9
commit 57929ed232
1 changed files with 1 additions and 4 deletions

View File

@ -1342,10 +1342,7 @@ static std::unordered_map<NSScreen *, DisplayWindowController *> _screenMap; //
CGLSetCurrentContext(cglDisplayContext);
oglv = new OGLVideoOutput();
oglv->InitLayers();
NSString *fontPath = [[NSBundle mainBundle] pathForResource:@"SourceSansPro-Semibold" ofType:@"otf"];
oglv->GetHUDLayer()->SetFontUsingPath([fontPath cStringUsingEncoding:NSUTF8StringEncoding]);
oglv->GetDisplayLayer()->SetFiltersPreferGPUOGL(true);
oglv->GetDisplayLayer()->SetSourceDeposterize(false);
oglv->GetDisplayLayer()->SetOutputFilterOGL(OutputFilterTypeID_Bilinear);