From 9c5b7b56b2e732b59dd453563dad23353af73c37 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 28 Jun 2021 23:28:38 +0900 Subject: [PATCH] internal/graphics: Reafctoring --- internal/graphics/vertex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/graphics/vertex.go b/internal/graphics/vertex.go index ce5be79c0..06ccc3274 100644 --- a/internal/graphics/vertex.go +++ b/internal/graphics/vertex.go @@ -68,7 +68,7 @@ type verticesBackend struct { } func verticesBackendFloat32Size(size int) int { - l := 1024 + l := 128 * VertexFloatNum for l < size { l *= 2 }