diff options
author | David Robillard <d@drobilla.net> | 2023-01-14 15:57:31 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-14 16:18:34 -0500 |
commit | 6a530fcaf22effb8f54f290996c02e9e90d58a7a (patch) | |
tree | 8b8eb4d8aa9e283558e575d8625935486a4c4b34 /src/mac_vulkan.m | |
parent | 64131038a4f0c3e3f5f5b95e083f0320a68de058 (diff) | |
download | pugl-6a530fcaf22effb8f54f290996c02e9e90d58a7a.tar.gz pugl-6a530fcaf22effb8f54f290996c02e9e90d58a7a.tar.bz2 pugl-6a530fcaf22effb8f54f290996c02e9e90d58a7a.zip |
MacOS: Fix Vulkan backend build
Diffstat (limited to 'src/mac_vulkan.m')
-rw-r--r-- | src/mac_vulkan.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mac_vulkan.m b/src/mac_vulkan.m index 45c4839..4fdbaf6 100644 --- a/src/mac_vulkan.m +++ b/src/mac_vulkan.m @@ -75,7 +75,8 @@ puglMacVulkanCreate(PuglView* view) { PuglInternals* impl = view->impl; PuglVulkanView* drawView = [PuglVulkanView alloc]; - const NSRect rect = NSMakeRect(0, 0, view->frame.width, view->frame.height); + const NSRect rect = + NSMakeRect(0, 0, view->lastConfigure.width, view->lastConfigure.height); drawView->puglview = view; [drawView initWithFrame:rect]; |