internal/graphicscommand: add screen info to log

This commit is contained in:
Hajime Hoshi 2024-07-04 02:01:56 +09:00
parent 94a93f8032
commit 346aaf071e

View File

@ -214,6 +214,10 @@ func LogImagesInfo(images []*Image) {
}) })
for _, i := range images { for _, i := range images {
w, h := i.InternalSize() 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)
} }
} }