- made Vulkan Cocoa view opaque

It is recommended to make content view opaque like NSOpenGLView
I didn't notice any difference in performance though
This commit is contained in:
alexey.lysiuk 2019-04-29 10:46:50 +03:00
parent 777a4c600a
commit 20cc066dc7

View file

@ -251,6 +251,11 @@ namespace
return [self.class.layerClass layer];
}
-(BOOL) isOpaque
{
return YES;
}
@end