mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-13 22:47:26 +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