mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
all: remove the comments about restorable
This commit is contained in:
parent
c404b448aa
commit
7f396f72de
@ -488,7 +488,7 @@ func TestLongImages(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDeallocateImmediately(t *testing.T) {
|
func TestDeallocateImmediately(t *testing.T) {
|
||||||
// This tests restorable.Image.ClearPixels is called but WritePixels is not called.
|
// This tests ClearPixels is called but WritePixels is not called.
|
||||||
|
|
||||||
img0 := atlas.NewImage(16, 16, atlas.ImageTypeRegular)
|
img0 := atlas.NewImage(16, 16, atlas.ImageTypeRegular)
|
||||||
img0.EnsureIsolatedFromSourceForTesting(nil)
|
img0.EnsureIsolatedFromSourceForTesting(nil)
|
||||||
|
@ -27,8 +27,6 @@ type Image struct {
|
|||||||
img *atlas.Image
|
img *atlas.Image
|
||||||
width int
|
width int
|
||||||
height int
|
height int
|
||||||
|
|
||||||
// pixels is valid only when restorable.AlwaysReadPixelsFromGPU() returns true.
|
|
||||||
pixels []byte
|
pixels []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user