[*] 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,
|
info.fResource = gpu->memoryAllocator()->createAliasingResource(info.fAlloc, 0, &newDesc,
|
||||||
resourceState, nullptr);
|
resourceState, nullptr);
|
||||||
if (!info.fResource) {
|
if (!info.fResource) {
|
||||||
return false;
|
return {};
|
||||||
}
|
}
|
||||||
info.fResourceState = resourceState;
|
info.fResourceState = resourceState;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user