mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
internal/graphicscommand: add screen info to log
This commit is contained in:
parent
94a93f8032
commit
346aaf071e
@ -214,6 +214,10 @@ func LogImagesInfo(images []*Image) {
|
||||
})
|
||||
for _, i := range images {
|
||||
w, h := i.InternalSize()
|
||||
debug.Logf(" %d: (%d, %d)\n", i.id, w, h)
|
||||
var screen string
|
||||
if i.screen {
|
||||
screen = " (screen)"
|
||||
}
|
||||
debug.Logf(" %d: (%d, %d)%s\n", i.id, w, h, screen)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user