[*] MSVC build issue: bad return value expression
This commit is contained in:
parent
8496285686
commit
c53d283c33
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user