gpu: rename BufferTypeData to less vague BufferTypeVertices

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-19 18:54:26 +01:00
parent 826ab9e65b
commit f5905b3ca8
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ func (c *coverer) release() {
}
func buildPath(ctx Backend, p []byte) *pathData {
buf := ctx.NewBuffer(BufferTypeData, p)
buf := ctx.NewBuffer(BufferTypeVertices, p)
return &pathData{
ncurves: len(p) / path.VertStride,
data: buf,