restorable: Remove MaxImageSize

This commit is contained in:
Hajime Hoshi 2018-03-09 02:50:38 +09:00
parent 2c62e64a9e
commit 00d8e793d9
2 changed files with 1 additions and 4 deletions

View File

@ -558,7 +558,7 @@ func newImageWithScreenFramebuffer(width, height int) *Image {
}
// MaxImageSize represents the maximum width/height of an image.
const MaxImageSize = restorable.MaxImageSize
const MaxImageSize = graphics.MaxImageSize
func checkSize(width, height int) {
if width <= 0 {

View File

@ -25,9 +25,6 @@ import (
"github.com/hajimehoshi/ebiten/internal/opengl"
)
// MaxImageSize represents the maximum width/height of an image.
const MaxImageSize = graphics.MaxImageSize
// drawImageHistoryItem is an item for history of draw-image commands.
type drawImageHistoryItem struct {
image *Image