internal/graphicsdriver: reorder the member

This commit is contained in:
Hajime Hoshi 2022-03-21 22:05:21 +09:00
parent 5e973ab419
commit 0dcf43b350

View File

@ -40,13 +40,13 @@ type ColorM interface {
} }
type Graphics interface { type Graphics interface {
Initialize() error
Begin() Begin()
End(present bool) End(present bool)
SetTransparent(transparent bool) SetTransparent(transparent bool)
SetVertices(vertices []float32, indices []uint16) SetVertices(vertices []float32, indices []uint16)
NewImage(width, height int) (Image, error) NewImage(width, height int) (Image, error)
NewScreenFramebufferImage(width, height int) (Image, error) NewScreenFramebufferImage(width, height int) (Image, error)
Initialize() error
SetVsyncEnabled(enabled bool) SetVsyncEnabled(enabled bool)
SetFullscreen(fullscreen bool) SetFullscreen(fullscreen bool)
FramebufferYDirection() YDirection FramebufferYDirection() YDirection