diff options
Diffstat (limited to 'src/gpu/text/GrAtlasTextBlob_regenInOp.cpp')
-rw-r--r-- | src/gpu/text/GrAtlasTextBlob_regenInOp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/text/GrAtlasTextBlob_regenInOp.cpp b/src/gpu/text/GrAtlasTextBlob_regenInOp.cpp index ecd8d523c2..2d373ad4a0 100644 --- a/src/gpu/text/GrAtlasTextBlob_regenInOp.cpp +++ b/src/gpu/text/GrAtlasTextBlob_regenInOp.cpp @@ -112,7 +112,7 @@ inline void regen_vertices(intptr_t vertex, const GrGlyph* glyph, size_t vertexS if (regenTexCoords) { uint16_t* textureCoords = reinterpret_cast<uint16_t*>(vertex + texCoordOffset); textureCoords[0] = u1; - textureCoords[1] = v1; + textureCoords[1] = v0; } vertex += vertexStride; @@ -131,7 +131,7 @@ inline void regen_vertices(intptr_t vertex, const GrGlyph* glyph, size_t vertexS if (regenTexCoords) { uint16_t* textureCoords = reinterpret_cast<uint16_t*>(vertex + texCoordOffset); textureCoords[0] = u1; - textureCoords[1] = v0; + textureCoords[1] = v1; } } |