mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
graphicscommand: Show the number of indices when dumping the command
This commit is contained in:
parent
57a5783ca0
commit
fa90e48eec
@ -361,7 +361,7 @@ func (c *drawTrianglesCommand) String() string {
|
|||||||
src += " (screen)"
|
src += " (screen)"
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Sprintf("draw-triangles: dst: %s <- src: %s, colorm: %v, mode %s, filter: %s, address: %s", dst, src, c.color, mode, filter, address)
|
return fmt.Sprintf("draw-triangles: dst: %s <- src: %s, nindices: %d, colorm: %v, mode %s, filter: %s, address: %s", dst, src, c.nindices, c.color, mode, filter, address)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exec executes the drawTrianglesCommand.
|
// Exec executes the drawTrianglesCommand.
|
||||||
|
Loading…
Reference in New Issue
Block a user