git-svn-id: http://skia.googlecode.com/svn/trunk@4628 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-07-16 17:54:26 +00:00
Родитель 9ba4fa6f0f
Коммит 33c1f6b47b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -992,15 +992,15 @@ void GrGLProgram::getUniformLocationsAndInitCache(const GrGLContextInfo& gl,
if (kUseUniform == fUniLocations.fColorMatrixUni) {
GL_CALL_RET(fUniLocations.fColorMatrixUni,
GetUniformLocation(fProgramID, COL_MATRIX_UNI_NAME));
GrAssert(kUnusedUniform != fUniLocations.fColorMatrixUni);
}
if (kUseUniform == fUniLocations.fColorMatrixVecUni) {
GL_CALL_RET(fUniLocations.fColorMatrixVecUni,
GetUniformLocation(fProgramID, COL_MATRIX_VEC_UNI_NAME));
GrAssert(kUnusedUniform != fUniLocations.fColorMatrixVecUni);
}
if (kUseUniform == fUniLocations.fCoverageUni) {
GL_CALL_RET(fUniLocations.fCoverageUni,GetUniformLocation(fProgramID, COV_UNI_NAME));
GrAssert(kUnusedUniform != fUniLocations.fCoverageUni);
}