mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
restorable: Remove MaxImageSize
This commit is contained in:
parent
2c62e64a9e
commit
00d8e793d9
2
image.go
2
image.go
@ -558,7 +558,7 @@ func newImageWithScreenFramebuffer(width, height int) *Image {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MaxImageSize represents the maximum width/height of an image.
|
// MaxImageSize represents the maximum width/height of an image.
|
||||||
const MaxImageSize = restorable.MaxImageSize
|
const MaxImageSize = graphics.MaxImageSize
|
||||||
|
|
||||||
func checkSize(width, height int) {
|
func checkSize(width, height int) {
|
||||||
if width <= 0 {
|
if width <= 0 {
|
||||||
|
@ -25,9 +25,6 @@ import (
|
|||||||
"github.com/hajimehoshi/ebiten/internal/opengl"
|
"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.
|
// drawImageHistoryItem is an item for history of draw-image commands.
|
||||||
type drawImageHistoryItem struct {
|
type drawImageHistoryItem struct {
|
||||||
image *Image
|
image *Image
|
||||||
|
Loading…
Reference in New Issue
Block a user