mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +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
|
return graphicsdriver.Downward
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *Graphics) NDCYDirection() graphicsdriver.YDirection {
|
|
||||||
return graphicsdriver.Upward
|
|
||||||
}
|
|
||||||
|
|
||||||
func (g *Graphics) NeedsRestoring() bool {
|
func (g *Graphics) NeedsRestoring() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,6 @@ type Graphics interface {
|
|||||||
SetVsyncEnabled(enabled bool)
|
SetVsyncEnabled(enabled bool)
|
||||||
SetFullscreen(fullscreen bool)
|
SetFullscreen(fullscreen bool)
|
||||||
FramebufferYDirection() YDirection
|
FramebufferYDirection() YDirection
|
||||||
NDCYDirection() YDirection
|
|
||||||
NeedsRestoring() bool
|
NeedsRestoring() bool
|
||||||
NeedsClearingScreen() bool
|
NeedsClearingScreen() bool
|
||||||
IsGL() bool
|
IsGL() bool
|
||||||
|
@ -1063,10 +1063,6 @@ func (g *Graphics) FramebufferYDirection() graphicsdriver.YDirection {
|
|||||||
return graphicsdriver.Downward
|
return graphicsdriver.Downward
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *Graphics) NDCYDirection() graphicsdriver.YDirection {
|
|
||||||
return graphicsdriver.Upward
|
|
||||||
}
|
|
||||||
|
|
||||||
func (g *Graphics) NeedsRestoring() bool {
|
func (g *Graphics) NeedsRestoring() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
@ -387,10 +387,6 @@ func (g *Graphics) FramebufferYDirection() graphicsdriver.YDirection {
|
|||||||
return graphicsdriver.Upward
|
return graphicsdriver.Upward
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *Graphics) NDCYDirection() graphicsdriver.YDirection {
|
|
||||||
return graphicsdriver.Upward
|
|
||||||
}
|
|
||||||
|
|
||||||
func (g *Graphics) NeedsRestoring() bool {
|
func (g *Graphics) NeedsRestoring() bool {
|
||||||
return g.context.needsRestoring()
|
return g.context.needsRestoring()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user