Fix shader complication

This commit is contained in:
2026-03-20 19:34:21 +01:00
parent 267596a969
commit 0bc329df24
+2 -1
View File
@@ -79,7 +79,8 @@ export class Shader {
uniforms[info.name] = gl.getUniformLocation(program, info.name);
if (!uniforms[info.name]) {
throw new Error(`Failed to get uniform location (${info.name})`);
console.error(`Failed to get uniform location (${info.name})`);
continue;
}
if (info.type === gl.SAMPLER_2D) {