Index: src/gpu/GrDefaultGeoProcFactory.cpp |
diff --git a/src/gpu/GrDefaultGeoProcFactory.cpp b/src/gpu/GrDefaultGeoProcFactory.cpp |
index c0e8ea700f32e7577e414758b7e131fa2a573902..ebd685b9c5ed2d1bc6136151476f5fb19af7947e 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.cpp |
+++ b/src/gpu/GrDefaultGeoProcFactory.cpp |
@@ -95,13 +95,8 @@ public: |
// Setup pass through color |
this->setupColorPassThrough(pb, local.fInputColorType, args.fOutputColor, gp.inColor(), |
&fColorUniform); |
- |
- // setup uniform viewMatrix |
- this->addUniformViewMatrix(pb); |
- |
// Setup position |
- SetupPosition(vsBuilder, gpArgs, gp.inPosition()->fName, |
- gp.viewMatrix(), this->uViewM()); |
+ this->setupPosition(pb, gpArgs, gp.inPosition()->fName, gp.viewMatrix()); |
if (gp.inLocalCoords()) { |
// emit transforms with explicit local coords |