macOS retina scaling fixes, M1 Vulkan vsync workaround, CMakeLists OpenMP path fix for Apple
This commit is contained in:
parent
279c95422d
commit
8bc8d14cf2
10 changed files with 33 additions and 21 deletions
|
|
@ -32,7 +32,7 @@ const std::string getAssetPath() {
|
|||
|
||||
self.view.contentScaleFactor = UIScreen.mainScreen.nativeScale;
|
||||
|
||||
_mvkExample = new MVKExample(self.view);
|
||||
_mvkExample = new MVKExample(self.view, 1.0f); // SRS - Use 1x scale factor for UIOverlay on iOS
|
||||
|
||||
// SRS - Enable AppDelegate to call into DemoViewController for handling app lifecycle events (e.g. termination)
|
||||
auto appDelegate = (AppDelegate *)UIApplication.sharedApplication.delegate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue