texture-compressor
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -19,4 +19,4 @@ // Arguments | ||
// Example: 2048 x 2048 | ||
if (!isSquare(width, height) && !isPowerOfTwo(width)) { | ||
throw new Error('Input image must be square'); | ||
if (!isSquare(width, height) || !isPowerOfTwo(width) || !isPowerOfTwo(height)) { | ||
throw new Error('Input image must be square and a power of two'); | ||
} | ||
@@ -23,0 +23,0 @@ |
{ | ||
"name": "texture-compressor", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "CLI tool for texture compression using ASTC, ETC, PVRTC and S3TC in a KTX container.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
30735038