diff options
Diffstat (limited to 'tests/PrimitiveProcessorTest.cpp')
-rw-r--r-- | tests/PrimitiveProcessorTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp index 3a9ab8d461..95855e0401 100644 --- a/tests/PrimitiveProcessorTest.cpp +++ b/tests/PrimitiveProcessorTest.cpp @@ -73,7 +73,8 @@ private: void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { const GP& gp = args.fGP.cast<GP>(); args.fVaryingHandler->emitAttributes(gp); - this->writeOutputPosition(args.fVertBuilder, gpArgs, gp.getAttrib(0).fName); + this->writeOutputPosition(args.fVertBuilder, gpArgs, + gp.getAttrib(0).name()); GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; fragBuilder->codeAppendf("%s = half4(1);", args.fOutputColor); fragBuilder->codeAppendf("%s = half4(1);", args.fOutputCoverage); |