opengl: Remove BindScreenFramebuffer

This commit is contained in:
Hajime Hoshi 2016-07-05 03:07:33 +09:00
parent 793aad2681
commit 302f5a5437

View File

@ -179,10 +179,6 @@ func (c *Context) TexSubImage2D(p []uint8, width, height int) {
gl.TexSubImage2D(mgl.TEXTURE_2D, 0, 0, 0, width, height, mgl.RGBA, mgl.UNSIGNED_BYTE, p)
}
func (c *Context) BindScreenFramebuffer() error {
return c.bindFramebuffer(c.screenFramebuffer)
}
func (c *Context) NewFramebuffer(texture Texture) (Framebuffer, error) {
gl := c.gl
f := gl.CreateFramebuffer()