diff --git a/internal/graphicsdriver/opengl/context_gles.go b/internal/graphicsdriver/opengl/context_gles.go index 224168721..9676c407c 100644 --- a/internal/graphicsdriver/opengl/context_gles.go +++ b/internal/graphicsdriver/opengl/context_gles.go @@ -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 { diff --git a/internal/graphicsdriver/opengl/context_js.go b/internal/graphicsdriver/opengl/context_js.go index 5d82ee0e0..7bc2d7952 100644 --- a/internal/graphicsdriver/opengl/context_js.go +++ b/internal/graphicsdriver/opengl/context_js.go @@ -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