mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
opengl: Remove BindScreenFramebuffer
This commit is contained in:
parent
793aad2681
commit
302f5a5437
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user