Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index 270bcbe5fbac94492288da3e230bb0a62985a20d..28746b93056fa4361230f5e973814f24d60b4c36 100644 |
--- a/src/gpu/GrTexture.cpp |
+++ b/src/gpu/GrTexture.cpp |
@@ -88,8 +88,9 @@ GrSurfaceOrigin resolve_origin(const GrSurfaceDesc& desc) { |
////////////////////////////////////////////////////////////////////////////// |
GrTexture::GrTexture(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc, |
- bool wasMipMapDataProvided) |
- : INHERITED(gpu, lifeCycle, desc) { |
+ GrSLType samplerType, bool wasMipMapDataProvided) |
+ : INHERITED(gpu, lifeCycle, desc) |
+ , fSamplerType(samplerType) { |
if (!this->isExternal() && !GrPixelConfigIsCompressed(desc.fConfig) && |
!desc.fTextureStorageAllocator.fAllocateTextureStorage) { |
GrScratchKey key; |