Fix Editor crash where the scissor regions is bigger than the metal drawable

This commit is contained in:
moudgils
2021-06-09 15:28:22 -07:00
parent 5cf8d420ed
commit ca475fab80
@@ -94,7 +94,7 @@ namespace Platform
void ResizeInternal(RHIMetalView* metalView, CGSize viewSize)
{
[metalView resizeSubviewsWithOldSize:viewSize];
[metalView.metalLayer setDrawableSize: viewSize];
}
RHIMetalView* GetMetalView(NativeWindowType* nativeWindow)