Index: src/gpu/vk/GrVkGpu.cpp |
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp |
index b995ed91aa10303d4a6cedc58b4d116611565ed9..76d50b0959beaaface643b798ebb55b25f7e0ee8 100644 |
--- a/src/gpu/vk/GrVkGpu.cpp |
+++ b/src/gpu/vk/GrVkGpu.cpp |
@@ -770,7 +770,7 @@ GrRenderTarget* GrVkGpu::onWrapBackendRenderTarget(const GrBackendRenderTargetDe |
return tgt; |
} |
-void GrVkGpu::generateMipmap(GrVkTexture* tex) const { |
+void GrVkGpu::generateMipmap(GrVkTexture* tex) { |
// don't do anything for linearly tiled textures (can't have mipmaps) |
if (tex->isLinearTiled()) { |
SkDebugf("Trying to create mipmap for linear tiled texture"); |