diff --git a/internal/graphics/internal/opengl/context.go b/internal/graphics/internal/opengl/context.go index 9ba6055cf..11994e02b 100644 --- a/internal/graphics/internal/opengl/context.go +++ b/internal/graphics/internal/opengl/context.go @@ -297,7 +297,3 @@ func (c *Context) BufferSubData(bufferType BufferType, data []int16) { func (c *Context) DrawElements(mode Mode, len int) { gl.DrawElements(uint32(mode), int32(len), gl.UNSIGNED_SHORT, gl.PtrOffset(0)) } - -func (c *Context) Flush() { - gl.Flush() -} diff --git a/internal/graphics/internal/opengl/context_js.go b/internal/graphics/internal/opengl/context_js.go index 62381e47b..c1a255140 100644 --- a/internal/graphics/internal/opengl/context_js.go +++ b/internal/graphics/internal/opengl/context_js.go @@ -347,8 +347,3 @@ func (c *Context) DrawElements(mode Mode, len int) { gl := c.gl gl.DrawElements(int(mode), len, gl.UNSIGNED_SHORT, 0) } - -func (c *Context) Flush() { - gl := c.gl - gl.Flush() -}