mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/graphics: Reafctoring
This commit is contained in:
parent
817d176994
commit
9c5b7b56b2
@ -68,7 +68,7 @@ type verticesBackend struct {
|
||||
}
|
||||
|
||||
func verticesBackendFloat32Size(size int) int {
|
||||
l := 1024
|
||||
l := 128 * VertexFloatNum
|
||||
for l < size {
|
||||
l *= 2
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user