Index: src/gpu/gl/GrGLProgramDataManager.cpp |
diff --git a/src/gpu/gl/GrGLProgramDataManager.cpp b/src/gpu/gl/GrGLProgramDataManager.cpp |
index fa232b73fdb3e8082e6255fd3556b1e089e11476..9513a3fd57b086c60b95b8f1b4df61bcac9a7e5a 100644 |
--- a/src/gpu/gl/GrGLProgramDataManager.cpp |
+++ b/src/gpu/gl/GrGLProgramDataManager.cpp |
@@ -89,19 +89,6 @@ |
} |
} |
-void GrGLProgramDataManager::set1i(UniformHandle u, int i) const { |
- const Uniform& uni = fUniforms[u.toIndex()]; |
- SkASSERT(uni.fType == kInt_GrSLType); |
- SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); |
- SkDEBUGCODE(this->printUnused(uni)); |
- if (kUnusedUniform != uni.fFSLocation) { |
- GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, i)); |
- } |
- if (kUnusedUniform != uni.fVSLocation && uni.fVSLocation != uni.fFSLocation) { |
- GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, i)); |
- } |
-} |
- |
void GrGLProgramDataManager::set1f(UniformHandle u, float v0) const { |
const Uniform& uni = fUniforms[u.toIndex()]; |
SkASSERT(uni.fType == kFloat_GrSLType); |