Fix early return when GrCoordTransform is identity.
BUG=339721 R=egdaniel@google.com Review URL: https://codereview.chromium.org/222833002 git-svn-id: http://skia.googlecode.com/svn/trunk@14033 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
a749e60e74
commit
d3c3f0e21d
@ -425,7 +425,7 @@ void GrGLVertexProgramEffects::setTransformData(const GrGLUniformManager& unifor
|
||||
switch (transforms[t].fType) {
|
||||
case kVoid_GrSLType:
|
||||
SkASSERT(get_transform_matrix(drawEffect, t).isIdentity());
|
||||
return;
|
||||
break;
|
||||
case kVec2f_GrSLType: {
|
||||
GrGLfloat tx, ty;
|
||||
get_transform_translation(drawEffect, t, &tx, &ty);
|
||||
|
Loading…
Reference in New Issue
Block a user