internal/graphicsdriver/opengl: remove unused functions

This commit is contained in:
Hajime Hoshi 2022-11-13 02:54:34 +09:00
parent fad9f1592c
commit 879cf50aaf
2 changed files with 0 additions and 10 deletions

View File

@ -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 {

View File

@ -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