mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
opengl: Remove Flush()
This commit is contained in:
parent
2b7617da7a
commit
eb0431f117
@ -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()
|
||||
}
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user