mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/graphicsdriver/opengl: remove unused functions
This commit is contained in:
parent
fad9f1592c
commit
879cf50aaf
@ -444,12 +444,6 @@ func (c *context) needsRestoring() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (c *context) canUsePBO() bool {
|
||||
// On Android, using PBO might slow the applications, especially when coming back from the context lost.
|
||||
// Let's not use PBO until we find a good solution.
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *context) texSubImage2D(t textureNative, args []*graphicsdriver.WritePixelsArgs) {
|
||||
c.bindTexture(t)
|
||||
for _, a := range args {
|
||||
|
@ -615,10 +615,6 @@ func (c *context) needsRestoring() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *context) canUsePBO() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *context) texSubImage2D(t textureNative, args []*graphicsdriver.WritePixelsArgs) {
|
||||
c.bindTexture(t)
|
||||
gl := c.gl
|
||||
|
Loading…
Reference in New Issue
Block a user