Skip to content

Commit cfbfac3

Browse files
authored
Merge pull request #2125 from Shopify/fix/isVector
Fix bug in shader uniform checking
2 parents e5c324a + 83edb3c commit cfbfac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/skia/types/Shader/Shader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const processUniforms = (
4040
for (let i = 0; i < uniformsCount; i++) {
4141
const name = source.getUniformName(i);
4242
const value = uniforms[name];
43-
if (!value === undefined) {
43+
if (value === undefined) {
4444
throw new Error(
4545
// eslint-disable-next-line max-len
4646
`The runtime effect has the uniform value "${name}" declared, but it is missing from the uniforms property of the Runtime effect.`

0 commit comments

Comments
 (0)