opengl: Remove Flush()

This commit is contained in:
Hajime Hoshi 2015-02-18 23:35:39 +09:00
parent 2b7617da7a
commit eb0431f117
2 changed files with 0 additions and 9 deletions

View File

@ -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()
}

View File

@ -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()
}