Index: src/gpu/vk/GrVkTexture.cpp |
diff --git a/src/gpu/vk/GrVkTexture.cpp b/src/gpu/vk/GrVkTexture.cpp |
index 62cb3dfc3a1413f7e8b8c3ec8d998610523ab0db..ca85b5db73edab7ee5872910831ba6a89a5dc4aa 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.fOffset); |
fTextureView = textureView; |
fInfo = info; |
this->texturePriv().setMaxMipMapLevel(mipLevels); |