diff options
Diffstat (limited to 'include/atlastext/SkAtlasTextRenderer.h')
-rw-r--r-- | include/atlastext/SkAtlasTextRenderer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/atlastext/SkAtlasTextRenderer.h b/include/atlastext/SkAtlasTextRenderer.h index a78e270edb..f5eb5240c9 100644 --- a/include/atlastext/SkAtlasTextRenderer.h +++ b/include/atlastext/SkAtlasTextRenderer.h @@ -5,7 +5,7 @@ * found in the LICENSE file. */ -#include "SkPoint.h" +#include "SkPoint3.h" #include "SkRefCnt.h" #ifndef SkAtlasTextRenderer_DEFINED @@ -25,8 +25,8 @@ public: }; struct SDFVertex { - /** Position in device space (not normalized). */ - SkPoint fPosition; + /** Position in device space (not normalized). The third component is w (not z). */ + SkPoint3 fPosition; /** Color, same value for all four corners of a glyph quad. */ uint32_t fColor; /** Texture coordinate (in texel units, not normalized). */ |