mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/ui: bug fix: screenshot didn't include antialias renderings
This commit is contained in:
parent
c34c072efa
commit
422de70d59
@ -192,6 +192,7 @@ func (i *Image) ReadPixels(pixels []byte, x, y, width, height int) {
|
||||
}
|
||||
|
||||
func (i *Image) DumpScreenshot(name string, blackbg bool) (string, error) {
|
||||
i.flushBufferIfNeeded()
|
||||
return theUI.dumpScreenshot(i.mipmap, name, blackbg)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user