| Index: src/gpu/effects/GrDisableColorXP.cpp
|
| diff --git a/src/gpu/effects/GrDisableColorXP.cpp b/src/gpu/effects/GrDisableColorXP.cpp
|
| index 792d14653cb7d203c492371a7423ef6b271b23fa..2a0de5fedab31d956191bb1fd777a9019bfe67a0 100644
|
| --- a/src/gpu/effects/GrDisableColorXP.cpp
|
| +++ b/src/gpu/effects/GrDisableColorXP.cpp
|
| @@ -63,8 +63,8 @@ private:
|
| // This emit code should be empty. However, on the nexus 6 there is a driver bug where if
|
| // you do not give gl_FragColor a value, the gl context is lost and we end up drawing
|
| // nothing. So this fix just sets the gl_FragColor arbitrarily to 0.
|
| - GrGLSLXPFragmentBuilder* fsBuilder = args.fPB->getFragmentShaderBuilder();
|
| - fsBuilder->codeAppendf("%s = vec4(0);", args.fOutputPrimary);
|
| + GrGLSLXPFragmentBuilder* fragBuilder = args.fXPFragBuilder;
|
| + fragBuilder->codeAppendf("%s = vec4(0);", args.fOutputPrimary);
|
| }
|
|
|
| void onSetData(const GrGLSLProgramDataManager&, const GrXferProcessor&) override {}
|
|
|