diff options
author | 2011-05-17 19:11:04 +0000 | |
---|---|---|
committer | 2011-05-17 19:11:04 +0000 | |
commit | db2566bf9682ef3c4c47dca92cef8a4c28d3b3f5 (patch) | |
tree | dce6ab84983719e0aa34690c28823958f005d6af /gpu | |
parent | ff3903202e5bce39016bac896ba6a417dc707d52 (diff) |
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
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/src/GrGLProgram.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/src/GrGLProgram.cpp b/gpu/src/GrGLProgram.cpp index 01a39b9401..0f82d2a40c 100644 --- a/gpu/src/GrGLProgram.cpp +++ b/gpu/src/GrGLProgram.cpp @@ -363,6 +363,7 @@ bool GrGLProgram::genProgram(GrGLProgram::CachedData* programData) const { if (fProgramDesc.fUsesEdgeAA) { segments.fFSUnis.append("uniform vec3 " EDGES_UNI_NAME "[6];\n"); + programData->fUniLocations.fEdgesUni = kUseUniform; } if (fProgramDesc.fEmitsPointSize){ |