Fix Editor crash where the scissor regions is bigger than the metal drawable
This commit is contained in:
@@ -94,7 +94,7 @@ namespace Platform
|
||||
|
||||
void ResizeInternal(RHIMetalView* metalView, CGSize viewSize)
|
||||
{
|
||||
[metalView resizeSubviewsWithOldSize:viewSize];
|
||||
[metalView.metalLayer setDrawableSize: viewSize];
|
||||
}
|
||||
|
||||
RHIMetalView* GetMetalView(NativeWindowType* nativeWindow)
|
||||
|
||||
Reference in New Issue
Block a user