gl-texture2d
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "gl-texture2d", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "WebGL texture wrapper", | ||
@@ -5,0 +5,0 @@ "main": "texture.js", |
@@ -544,3 +544,3 @@ 'use strict' | ||
if(Array.isArray(arguments[1])) { | ||
return createTextureShape(gl, arguments[1][0]|0, arguments[1][1]|0, arguments[2]||gl.RGBA, arguments[4]||gl.UNSIGNED_BYTE) | ||
return createTextureShape(gl, arguments[1][0]|0, arguments[1][1]|0, arguments[2]||gl.RGBA, arguments[3]||gl.UNSIGNED_BYTE) | ||
} | ||
@@ -559,2 +559,2 @@ if(typeof arguments[1] === 'object') { | ||
throw new Error('gl-texture2d: Invalid arguments for texture2d constructor') | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24585
532