mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
opengl: Misspelling
This commit is contained in:
parent
e4a7d9bde4
commit
79bdfc0718
@ -241,7 +241,7 @@ func (c *Context) DeleteFramebuffer(f Framebuffer) {
|
|||||||
if !gl.IsFramebuffer(f.Object) {
|
if !gl.IsFramebuffer(f.Object) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// If a framebuffer to be delted is bound, a newly bound framebuffer
|
// If a framebuffer to be deleted is bound, a newly bound framebuffer
|
||||||
// will be a default framebuffer.
|
// will be a default framebuffer.
|
||||||
// https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDeleteFramebuffers.xml
|
// https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDeleteFramebuffers.xml
|
||||||
if c.lastFramebuffer == f {
|
if c.lastFramebuffer == f {
|
||||||
|
@ -219,7 +219,7 @@ func (c *Context) DeleteFramebuffer(f Framebuffer) {
|
|||||||
if !gl.IsFramebuffer(mgl.Framebuffer(f)) {
|
if !gl.IsFramebuffer(mgl.Framebuffer(f)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// If a framebuffer to be delted is bound, a newly bound framebuffer
|
// If a framebuffer to be deleted is bound, a newly bound framebuffer
|
||||||
// will be a default framebuffer.
|
// will be a default framebuffer.
|
||||||
// https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDeleteFramebuffers.xml
|
// https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDeleteFramebuffers.xml
|
||||||
if c.lastFramebuffer == f {
|
if c.lastFramebuffer == f {
|
||||||
|
Loading…
Reference in New Issue
Block a user