internal/graphics: Reafctoring

This commit is contained in:
Hajime Hoshi 2021-06-28 23:28:38 +09:00
parent 817d176994
commit 9c5b7b56b2

View File

@ -68,7 +68,7 @@ type verticesBackend struct {
} }
func verticesBackendFloat32Size(size int) int { func verticesBackendFloat32Size(size int) int {
l := 1024 l := 128 * VertexFloatNum
for l < size { for l < size {
l *= 2 l *= 2
} }