Index: src/gpu/vk/GrVkTextureRenderTarget.cpp |
diff --git a/src/gpu/vk/GrVkTextureRenderTarget.cpp b/src/gpu/vk/GrVkTextureRenderTarget.cpp |
index 2a89817713dfb4cfe6cbe8569055e46444f4277d..c33a6800b837a2647c0c282273ead8b35eb3f351 100644 |
--- a/src/gpu/vk/GrVkTextureRenderTarget.cpp |
+++ b/src/gpu/vk/GrVkTextureRenderTarget.cpp |
@@ -29,7 +29,7 @@ GrVkTextureRenderTarget* GrVkTextureRenderTarget::Create(GrVkGpu* gpu, |
uint32_t mipLevels = 1; |
//TODO: does a mipmapped textureRenderTarget make sense? |
//if (desc.fIsMipMapped) { |
- // mipLevels = SkMipMap::ComputeLevelCount(this->width(), this->height()); |
+ // mipLevels = SkMipMap::ComputeLevelCount(this->width(), this->height()) + 1; |
//} |
const GrVkImageView* imageView = GrVkImageView::Create(gpu, image, format, |
GrVkImageView::kColor_Type, mipLevels); |