diff options
-rw-r--r-- | src/gpu/effects/GrBitmapTextGeoProc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.cpp b/src/gpu/effects/GrBitmapTextGeoProc.cpp index 151c529ef8..8bba1d7237 100644 --- a/src/gpu/effects/GrBitmapTextGeoProc.cpp +++ b/src/gpu/effects/GrBitmapTextGeoProc.cpp @@ -125,7 +125,8 @@ GrBitmapTextGeoProc::GrBitmapTextGeoProc(GrColor color, , fInColor(nullptr) , fMaskFormat(format) { this->initClassID<GrBitmapTextGeoProc>(); - fInPosition = &this->addVertexAttrib("inPosition", kVec2f_GrVertexAttribType); + fInPosition = + &this->addVertexAttrib("inPosition", kVec2f_GrVertexAttribType, kHigh_GrSLPrecision); bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || kA565_GrMaskFormat == fMaskFormat; |