diff options
Diffstat (limited to 'src')
-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]; |