diff --git a/internal/restorable/image.go b/internal/restorable/image.go index b974283f1..a58f79cb2 100644 --- a/internal/restorable/image.go +++ b/internal/restorable/image.go @@ -168,15 +168,8 @@ func NewImage(width, height int, imageType ImageType) *Image { panic("restorable: graphics driver must be ready at NewImage but not") } - var attribute string - if needsRestoration() { - switch imageType { - case ImageTypeVolatile: - attribute = "volatile" - } - } i := &Image{ - image: graphicscommand.NewImage(width, height, imageType == ImageTypeScreen, attribute), + image: graphicscommand.NewImage(width, height, imageType == ImageTypeScreen, ""), width: width, height: height, imageType: imageType,