mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
Revert "internal/graphics: increase defaultViewportSize to 8192 (#538)"
This reverts commit a60976f260
Per #541.
This commit is contained in:
parent
bc8a96eda7
commit
2c62e64a9e
@ -70,11 +70,8 @@ func newScreenFramebuffer(width, height int) *framebuffer {
|
||||
|
||||
// defaultViewportSize is the default size (width or height) of viewport.
|
||||
//
|
||||
// defaultViewportSize also represents the maximum size of a framebuffer
|
||||
// and of an Image (it is used to declare MaxImageSize).
|
||||
//
|
||||
// For portability reasons it must be a power of two.
|
||||
const defaultViewportSize = 8192
|
||||
// defaultViewportSize also represents the maximum size of a framebuffer.
|
||||
const defaultViewportSize = 4096
|
||||
|
||||
// viewportSize returns the viewport size of the framebuffer.
|
||||
func (f *framebuffer) viewportSize() (int, int) {
|
||||
|
Loading…
Reference in New Issue
Block a user