- 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:
parent
777a4c600a
commit
20cc066dc7
1 changed files with 5 additions and 0 deletions
|
|
@ -251,6 +251,11 @@ namespace
|
|||
return [self.class.layerClass layer];
|
||||
}
|
||||
|
||||
-(BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue