Set fEdgesUni to kUseUniform when we need to upload it. Fix for bug introduced
in r1339 where the tesselated path renderer would render nothing.
Review URL: http://codereview.appspot.com/4550050/
git-svn-id: http://skia.googlecode.com/svn/trunk@1355 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrGLProgram.cpp b/gpu/src/GrGLProgram.cpp
index 01a39b9..0f82d2a 100644
--- a/gpu/src/GrGLProgram.cpp
+++ b/gpu/src/GrGLProgram.cpp
@@ -363,6 +363,7 @@
if (fProgramDesc.fUsesEdgeAA) {
segments.fFSUnis.append("uniform vec3 " EDGES_UNI_NAME "[6];\n");
+ programData->fUniLocations.fEdgesUni = kUseUniform;
}
if (fProgramDesc.fEmitsPointSize){