mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +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 {
|
func verticesBackendFloat32Size(size int) int {
|
||||||
l := 1024
|
l := 128 * VertexFloatNum
|
||||||
for l < size {
|
for l < size {
|
||||||
l *= 2
|
l *= 2
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user