commit | 5ce2fc82ff598c9b5c660b0bc3677c407c6992dd | [log] [tgz] |
---|---|---|
author | Dan Ginsburg <dginsburg@upsamplesoftware.com> | Fri Jun 01 10:23:27 2018 -0400 |
committer | Dan Ginsburg <dginsburg@upsamplesoftware.com> | Fri Jun 01 10:23:27 2018 -0400 |
tree | 0d8e1bc0f2432c54a1e0956d5e6750f9377e652d | |
parent | 43130ab27a8b2e9eaf9e28b70b64f14b20c3b7bb [diff] |
Fix vsync not being enabled in IMMEDIATE present mode. MVK_MACOS was not being defined.
diff --git a/MoltenVK/MoltenVK/Utility/CAMetalLayer+MoltenVK.m b/MoltenVK/MoltenVK/Utility/CAMetalLayer+MoltenVK.m index 14a0282..bf45f2f 100644 --- a/MoltenVK/MoltenVK/Utility/CAMetalLayer+MoltenVK.m +++ b/MoltenVK/MoltenVK/Utility/CAMetalLayer+MoltenVK.m
@@ -17,6 +17,7 @@ */ +#include "MVKCommonEnvironment.h" #import "CAMetalLayer+MoltenVK.h" @implementation CAMetalLayer (MoltenVK)