| Index: src/gpu/vk/GrVkPipelineState.cpp
|
| diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp
|
| index 8e52fb46c0e28282efc23ce688004ec3ed2df6e9..c3f91d04a70faae7d831b6bbedcbb54debd3c1eb 100644
|
| --- a/src/gpu/vk/GrVkPipelineState.cpp
|
| +++ b/src/gpu/vk/GrVkPipelineState.cpp
|
| @@ -303,7 +303,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);
|
|
|
|
|