mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +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)
|
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) {
|
func (c *Context) NewFramebuffer(texture Texture) (Framebuffer, error) {
|
||||||
gl := c.gl
|
gl := c.gl
|
||||||
f := gl.CreateFramebuffer()
|
f := gl.CreateFramebuffer()
|
||||||
|
Loading…
Reference in New Issue
Block a user