mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +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) {
|
||||
// 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.EnsureIsolatedFromSourceForTesting(nil)
|
||||
|
@ -27,8 +27,6 @@ type Image struct {
|
||||
img *atlas.Image
|
||||
width int
|
||||
height int
|
||||
|
||||
// pixels is valid only when restorable.AlwaysReadPixelsFromGPU() returns true.
|
||||
pixels []byte
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user