mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/graphicsdriver: remove Graphics.NDCYDirection
This commit is contained in:
parent
04d1dbb263
commit
736d77e0d2
@ -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
|
||||
}
|
||||
|
@ -50,7 +50,6 @@ type Graphics interface {
|
||||
SetVsyncEnabled(enabled bool)
|
||||
SetFullscreen(fullscreen bool)
|
||||
FramebufferYDirection() YDirection
|
||||
NDCYDirection() YDirection
|
||||
NeedsRestoring() bool
|
||||
NeedsClearingScreen() bool
|
||||
IsGL() bool
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user