From 60dd8c746428fb6218fff5f437b1b7c5256bba13 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Mon, 30 Jul 2018 10:24:13 -0400 Subject: Introduce enum class for texture type. This represents the GL texture "target" but at the API-neutral level. It will be needed here because proxy's that wrap imported texture's need to know about sampling restrictions. Change-Id: Ie811a6f6d04ba1b04faa6908422dca64e8e447c8 Reviewed-on: https://skia-review.googlesource.com/144304 Reviewed-by: Greg Daniel Commit-Queue: Brian Salomon --- src/gpu/mock/GrMockTexture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/mock/GrMockTexture.h') 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) {} -- cgit v1.2.3