Index: src/effects/SkColorMatrixFilter.cpp |
diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp |
index d8eb1f17c54c2b28e1602826b18597b0f8275d9a..5b36a8f7e55df1dec60b77de2b29ba6fa81aec39 100644 |
--- a/src/effects/SkColorMatrixFilter.cpp |
+++ b/src/effects/SkColorMatrixFilter.cpp |
@@ -441,8 +441,8 @@ public: |
GrGLfloat vec[] = { |
m[4] * kScale, m[9] * kScale, m[14] * kScale, m[19] * kScale, |
}; |
- uniManager.setMatrix4fv(fMatrixHandle, 0, 1, mt); |
- uniManager.set4fv(fVectorHandle, 0, 1, vec); |
+ uniManager.setMatrix4fv(fMatrixHandle, 1, mt); |
+ uniManager.set4fv(fVectorHandle, 1, vec); |
} |
private: |