Index: src/gpu/vk/GrVkPipelineState.cpp |
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp |
index 0ebd1dd7fd1ffd29c0de71802d92a3d8e8e4162b..f27916f714bc55adcd4df801333a9bf1ebb74bb4 100644 |
--- a/src/gpu/vk/GrVkPipelineState.cpp |
+++ b/src/gpu/vk/GrVkPipelineState.cpp |
@@ -304,7 +304,7 @@ void GrVkPipelineState::writeSamplers(GrVkGpu* gpu, |
fSamplers.push(gpu->resourceProvider().findOrCreateCompatibleSampler(params, |
texture->texturePriv().maxMipMapLevel())); |
- const GrVkImage::Resource* textureResource = texture->resource(); |
+ const GrVkResource* textureResource = texture->resource(); |
textureResource->ref(); |
fTextures.push(textureResource); |