mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 19:58:54 +01:00
internal/graphicscommand: Log 'even-odd' property
This commit is contained in:
parent
674802d2f5
commit
b2d4521e22
@ -405,7 +405,7 @@ func (c *drawTrianglesCommand) String() string {
|
|||||||
|
|
||||||
r := fmt.Sprintf("(x:%d, y:%d, width:%d, height:%d)",
|
r := fmt.Sprintf("(x:%d, y:%d, width:%d, height:%d)",
|
||||||
int(c.dstRegion.X), int(c.dstRegion.Y), int(c.dstRegion.Width), int(c.dstRegion.Height))
|
int(c.dstRegion.X), int(c.dstRegion.Y), int(c.dstRegion.Width), int(c.dstRegion.Height))
|
||||||
return fmt.Sprintf("draw-triangles: dst: %s <- src: [%s], dst region: %s, num of indices: %d, colorm: %v, mode %s, filter: %s, address: %s", dst, strings.Join(srcstrs[:], ", "), r, c.nindices, c.color, mode, filter, address)
|
return fmt.Sprintf("draw-triangles: dst: %s <- src: [%s], dst region: %s, num of indices: %d, colorm: %v, mode %s, filter: %s, address: %s, even-odd: %t", dst, strings.Join(srcstrs[:], ", "), r, c.nindices, c.color, mode, filter, address, c.evenOdd)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exec executes the drawTrianglesCommand.
|
// Exec executes the drawTrianglesCommand.
|
||||||
|
Loading…
Reference in New Issue
Block a user