Index: src/gpu/gl/builders/GrGLProgramBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.h b/src/gpu/gl/builders/GrGLProgramBuilder.h |
index 46d2816c521e9e021eb62773727560e8d5bc343d..37908f997174e9a40cf7533fbdf6076b6f6c8eb3 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.h |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.h |
@@ -356,12 +356,7 @@ |
}; |
class AutoStageAdvance { |
public: |
- AutoStageAdvance(GrGLProgramBuilder* pb) |
- : fPB(pb) { |
- fPB->reset(); |
- // Each output to the fragment processor gets its own code section |
- fPB->fFS.nextStage(); |
- } |
+ AutoStageAdvance(GrGLProgramBuilder* pb) : fPB(pb) { fPB->reset(); } |
~AutoStageAdvance() { fPB->exitStage(); } |
private: |
GrGLProgramBuilder* fPB; |