Fix window content scale not set correctly
This commit is contained in:
@@ -30,6 +30,7 @@ using namespace OpenVulkano;
|
|||||||
- (id)initWithWindow:(MetalViewWindow*)win
|
- (id)initWithWindow:(MetalViewWindow*)win
|
||||||
{
|
{
|
||||||
window = win;
|
window = win;
|
||||||
|
window->SetContentScale(UIScreen.mainScreen.nativeScale);
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user