Fix window content scale not set correctly

This commit is contained in:
Georg Hagen
2024-12-31 15:00:33 +01:00
parent 8b7f536442
commit 757b3b8d3c

View File

@@ -30,6 +30,7 @@ using namespace OpenVulkano;
- (id)initWithWindow:(MetalViewWindow*)win
{
window = win;
window->SetContentScale(UIScreen.mainScreen.nativeScale);
return self;
}