diff --git a/internal/graphicsdriver/graphics.go b/internal/graphicsdriver/graphics.go index 0cd5541f0..3b2b8dfaa 100644 --- a/internal/graphicsdriver/graphics.go +++ b/internal/graphicsdriver/graphics.go @@ -40,13 +40,13 @@ type ColorM interface { } type Graphics interface { + Initialize() error Begin() End(present bool) SetTransparent(transparent bool) SetVertices(vertices []float32, indices []uint16) NewImage(width, height int) (Image, error) NewScreenFramebufferImage(width, height int) (Image, error) - Initialize() error SetVsyncEnabled(enabled bool) SetFullscreen(fullscreen bool) FramebufferYDirection() YDirection