| Index: tools/viewer/sk_app/VulkanWindowContext.cpp
|
| diff --git a/tools/viewer/sk_app/VulkanWindowContext.cpp b/tools/viewer/sk_app/VulkanWindowContext.cpp
|
| index 5087e5d4fd9c4df335bbf6ac3082f76a6805e390..c969f28d85138c705a11743c7ab840cb320a40ed 100644
|
| --- a/tools/viewer/sk_app/VulkanWindowContext.cpp
|
| +++ b/tools/viewer/sk_app/VulkanWindowContext.cpp
|
| @@ -278,9 +278,8 @@ void VulkanWindowContext::createBuffers(VkFormat format) {
|
| desc.fSampleCnt = 0;
|
| desc.fStencilBits = 0;
|
| desc.fRenderTargetHandle = (GrBackendObject) &info;
|
| - fRenderTargets[i].reset(fContext->textureProvider()->wrapBackendRenderTarget(desc));
|
|
|
| - fSurfaces[i] = this->createRenderSurface(fRenderTargets[i], 24);
|
| + fSurfaces[i] = this->createRenderSurface(desc, 24);
|
| }
|
|
|
| // create the command pool for the command buffers
|
|
|