зеркало из https://github.com/mozilla/moz-skia.git
Fix test break in r4627.
git-svn-id: http://skia.googlecode.com/svn/trunk@4628 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
9ba4fa6f0f
Коммит
33c1f6b47b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче