aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/debug/GrGLCreateDebugInterface.cpp')
-rw-r--r--src/gpu/gl/debug/GrGLCreateDebugInterface.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
index 120381e29e..685e18d085 100644
--- a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
+++ b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
@@ -758,9 +758,6 @@ GrGLvoid GR_GL_FUNCTION_TYPE debugGLGetIntegerv(GrGLenum pname, GrGLint* params)
case GR_GL_MAX_VARYING_VECTORS:
*params = kDefaultMaxVaryingVectors;
break;
- case GR_GL_MAX_TEXTURE_UNITS:
- *params = GrDebugGL::getInstance()->getMaxTextureUnits();
- break;
default:
GrCrash("Unexpected pname to GetIntegerv");
}