aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/vk/GrVkTexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/vk/GrVkTexture.cpp')
-rw-r--r--src/gpu/vk/GrVkTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/vk/GrVkTexture.cpp b/src/gpu/vk/GrVkTexture.cpp
index 0adf87b413..5d15311cbf 100644
--- a/src/gpu/vk/GrVkTexture.cpp
+++ b/src/gpu/vk/GrVkTexture.cpp
@@ -216,7 +216,7 @@ bool GrVkTexture::reallocForMipmap(const GrVkGpu* gpu, uint32_t mipLevels) {
fLinearTextureView = nullptr;
}
- this->setNewResource(info.fImage, info.fAlloc);
+ this->setNewResource(info.fImage, info.fAlloc, info.fImageTiling);
fTextureView = textureView;
fInfo = info;
this->texturePriv().setMaxMipMapLevel(mipLevels);