Index: src/gpu/vk/GrVkRenderTarget.cpp |
diff --git a/src/gpu/vk/GrVkRenderTarget.cpp b/src/gpu/vk/GrVkRenderTarget.cpp |
index 277448001e51c7930370088b13b1e8c015d62164..2c3ea4059f6004d0ff0a5b26a56d9c32aa2c5d22 100644 |
--- a/src/gpu/vk/GrVkRenderTarget.cpp |
+++ b/src/gpu/vk/GrVkRenderTarget.cpp |
@@ -35,7 +35,7 @@ GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, |
, GrRenderTarget(gpu, desc, kUnified_SampleConfig) |
, fFramebuffer(nullptr) |
, fColorAttachmentView(colorAttachmentView) |
- , fMSAAImage(new GrVkImage(info, GrVkImage::kNot_Wrapped)) |
+ , fMSAAImage(new GrVkImage(msaaInfo, GrVkImage::kNot_Wrapped)) |
, fResolveAttachmentView(resolveAttachmentView) |
, fCachedSimpleRenderPass(nullptr) { |
SkASSERT(desc.fSampleCnt); |
@@ -60,7 +60,7 @@ GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, |
, GrRenderTarget(gpu, desc, kUnified_SampleConfig) |
, fFramebuffer(nullptr) |
, fColorAttachmentView(colorAttachmentView) |
- , fMSAAImage(new GrVkImage(info, GrVkImage::kNot_Wrapped)) |
+ , fMSAAImage(new GrVkImage(msaaInfo, GrVkImage::kNot_Wrapped)) |
, fResolveAttachmentView(resolveAttachmentView) |
, fCachedSimpleRenderPass(nullptr) { |
SkASSERT(desc.fSampleCnt); |