mirror of https://github.com/axmolengine/axmol.git
fix some typos (#16269)
This commit is contained in:
parent
3a3f6bd385
commit
9a8f577095
|
@ -79,7 +79,7 @@ gl.deleteTexture = function(texture) {
|
||||||
gl._deleteTexture(texture_id);
|
gl._deleteTexture(texture_id);
|
||||||
};
|
};
|
||||||
|
|
||||||
gl.deleteBuffer = function(bufer) {
|
gl.deleteBuffer = function(buffer) {
|
||||||
var buffer_id = buffer.buffer_id;
|
var buffer_id = buffer.buffer_id;
|
||||||
// Accept numbers too. eg: gl.deleteBuffer(0)
|
// Accept numbers too. eg: gl.deleteBuffer(0)
|
||||||
if( typeof buffer === 'number' )
|
if( typeof buffer === 'number' )
|
||||||
|
@ -88,7 +88,7 @@ gl.deleteBuffer = function(bufer) {
|
||||||
gl._deleteBuffer(buffer_id);
|
gl._deleteBuffer(buffer_id);
|
||||||
};
|
};
|
||||||
|
|
||||||
gl.deleteRenderbuffer = function(bufer) {
|
gl.deleteRenderbuffer = function(buffer) {
|
||||||
var buffer_id = buffer.renderbuffer_id;
|
var buffer_id = buffer.renderbuffer_id;
|
||||||
// Accept numbers too. eg: gl.deleteRenderbuffer(0)
|
// Accept numbers too. eg: gl.deleteRenderbuffer(0)
|
||||||
if( typeof buffer === 'number' )
|
if( typeof buffer === 'number' )
|
||||||
|
@ -97,7 +97,7 @@ gl.deleteRenderbuffer = function(bufer) {
|
||||||
gl._deleteRenderbuffer(renderbuffer_id);
|
gl._deleteRenderbuffer(renderbuffer_id);
|
||||||
};
|
};
|
||||||
|
|
||||||
gl.deleteFramebuffer = function(bufer) {
|
gl.deleteFramebuffer = function(buffer) {
|
||||||
var buffer_id = buffer.framebuffer_id;
|
var buffer_id = buffer.framebuffer_id;
|
||||||
// Accept numbers too. eg: gl.deleteFramebuffer(0)
|
// Accept numbers too. eg: gl.deleteFramebuffer(0)
|
||||||
if( typeof buffer === 'number' )
|
if( typeof buffer === 'number' )
|
||||||
|
|
Loading…
Reference in New Issue