[*] MSVC build issue: bad return value expression

This commit is contained in:
Reece Wilson 2022-07-18 17:16:52 +01:00
parent 8496285686
commit c53d283c33

View File

@ -123,7 +123,7 @@ sk_sp<GrD3DTexture> GrD3DTexture::MakeAliasingTexture(GrD3DGpu* gpu,
info.fResource = gpu->memoryAllocator()->createAliasingResource(info.fAlloc, 0, &newDesc,
resourceState, nullptr);
if (!info.fResource) {
return false;
return {};
}
info.fResourceState = resourceState;