opengl: Misspelling

This commit is contained in:
Hajime Hoshi 2016-07-07 02:08:28 +09:00
parent e4a7d9bde4
commit 79bdfc0718
2 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@ func (c *Context) DeleteFramebuffer(f Framebuffer) {
if !gl.IsFramebuffer(f.Object) {
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.
// https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDeleteFramebuffers.xml
if c.lastFramebuffer == f {

View File

@ -219,7 +219,7 @@ func (c *Context) DeleteFramebuffer(f Framebuffer) {
if !gl.IsFramebuffer(mgl.Framebuffer(f)) {
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.
// https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDeleteFramebuffers.xml
if c.lastFramebuffer == f {