gl-texture2d
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "gl-texture2d", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "WebGL texture wrapper", | ||
@@ -5,0 +5,0 @@ "main": "texture.js", |
@@ -215,3 +215,3 @@ "use strict" | ||
if(typeof arguments[1] === "number") { | ||
return createTextureShape(gl, arguments[0], arguments[1], arguments[2]||gl.RGBA, arguments[3]||gl.UNSIGNED_BYTE) | ||
return createTextureShape(gl, arguments[1], arguments[2], arguments[3]||gl.RGBA, arguments[4]||gl.UNSIGNED_BYTE) | ||
} | ||
@@ -218,0 +218,0 @@ if(typeof arguments[1] === "object") { |
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