Comparing version 1.0.7 to 1.0.8
@@ -15,3 +15,6 @@ 'use strict' | ||
if (!gl) throw Error('WebGL context is not provided'); | ||
if (!program) program = getProgram(gl); | ||
else getProgram(gl, program); | ||
if (!program) throw Error('Context has no active program'); | ||
@@ -18,0 +21,0 @@ |
{ | ||
"name": "gl-util", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Set of practical webgl utils", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,2 +18,4 @@ 'use strict' | ||
if (!program) program = getProgram(gl); | ||
else getProgram(gl, program); | ||
if (!program) throw Error('Context has no active program'); | ||
@@ -20,0 +22,0 @@ |
@@ -18,2 +18,4 @@ /* @module gl-util/unifrom */ | ||
if (!program) program = getProgram(gl); | ||
else getProgram(gl, program); | ||
if (!program) throw Error('Context has no active program'); | ||
@@ -20,0 +22,0 @@ |
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
81943
556