internal/graphicsdriver: remove Graphics.NDCYDirection

This commit is contained in:
Hajime Hoshi 2022-04-04 03:03:44 +09:00
parent 04d1dbb263
commit 736d77e0d2
4 changed files with 0 additions and 13 deletions

View File

@ -910,10 +910,6 @@ func (g *Graphics) FramebufferYDirection() graphicsdriver.YDirection {
return graphicsdriver.Downward
}
func (g *Graphics) NDCYDirection() graphicsdriver.YDirection {
return graphicsdriver.Upward
}
func (g *Graphics) NeedsRestoring() bool {
return false
}

View File

@ -50,7 +50,6 @@ type Graphics interface {
SetVsyncEnabled(enabled bool)
SetFullscreen(fullscreen bool)
FramebufferYDirection() YDirection
NDCYDirection() YDirection
NeedsRestoring() bool
NeedsClearingScreen() bool
IsGL() bool

View File

@ -1063,10 +1063,6 @@ func (g *Graphics) FramebufferYDirection() graphicsdriver.YDirection {
return graphicsdriver.Downward
}
func (g *Graphics) NDCYDirection() graphicsdriver.YDirection {
return graphicsdriver.Upward
}
func (g *Graphics) NeedsRestoring() bool {
return false
}

View File

@ -387,10 +387,6 @@ func (g *Graphics) FramebufferYDirection() graphicsdriver.YDirection {
return graphicsdriver.Upward
}
func (g *Graphics) NDCYDirection() graphicsdriver.YDirection {
return graphicsdriver.Upward
}
func (g *Graphics) NeedsRestoring() bool {
return g.context.needsRestoring()
}