fix some typos (#16269)

This commit is contained in:
minggo 2016-07-29 17:20:42 +08:00 committed by GitHub
parent 3a3f6bd385
commit 9a8f577095
1 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ gl.deleteTexture = function(texture) {
gl._deleteTexture(texture_id);
};
gl.deleteBuffer = function(bufer) {
gl.deleteBuffer = function(buffer) {
var buffer_id = buffer.buffer_id;
// Accept numbers too. eg: gl.deleteBuffer(0)
if( typeof buffer === 'number' )
@ -88,7 +88,7 @@ gl.deleteBuffer = function(bufer) {
gl._deleteBuffer(buffer_id);
};
gl.deleteRenderbuffer = function(bufer) {
gl.deleteRenderbuffer = function(buffer) {
var buffer_id = buffer.renderbuffer_id;
// Accept numbers too. eg: gl.deleteRenderbuffer(0)
if( typeof buffer === 'number' )
@ -97,7 +97,7 @@ gl.deleteRenderbuffer = function(bufer) {
gl._deleteRenderbuffer(renderbuffer_id);
};
gl.deleteFramebuffer = function(bufer) {
gl.deleteFramebuffer = function(buffer) {
var buffer_id = buffer.framebuffer_id;
// Accept numbers too. eg: gl.deleteFramebuffer(0)
if( typeof buffer === 'number' )