aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrTextureOp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrTextureOp.cpp')
-rw-r--r--src/gpu/ops/GrTextureOp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrTextureOp.cpp b/src/gpu/ops/GrTextureOp.cpp
index ff0198533f..99ecdf8101 100644
--- a/src/gpu/ops/GrTextureOp.cpp
+++ b/src/gpu/ops/GrTextureOp.cpp
@@ -953,7 +953,7 @@ __attribute__((no_sanitize("float-cast-overflow")))
return -1;
}
if (GrTexture* tex = thatProxies[j]->priv().peekTexture()) {
- if (tex->texturePriv().samplerType() != kTexture2DSampler_GrSLType) {
+ if (tex->texturePriv().textureType() != GrTextureType::k2D) {
return -1;
}
}