aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mock/GrMockTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/mock/GrMockTexture.h')
-rw-r--r--src/gpu/mock/GrMockTexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/mock/GrMockTexture.h b/src/gpu/mock/GrMockTexture.h
index 24ef009229..1722329b89 100644
--- a/src/gpu/mock/GrMockTexture.h
+++ b/src/gpu/mock/GrMockTexture.h
@@ -46,7 +46,7 @@ protected:
GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrMipMapsStatus mipMapsStatus,
const GrMockTextureInfo& info)
: GrSurface(gpu, desc)
- , INHERITED(gpu, desc, kTexture2DSampler_GrSLType, GrSamplerState::Filter::kMipMap,
+ , INHERITED(gpu, desc, GrTextureType::k2D, GrSamplerState::Filter::kMipMap,
mipMapsStatus)
, fInfo(info) {}