fix ANGLE
This commit is contained in:
parent
38dd1ddbe8
commit
c7f24133e5
@ -112,7 +112,8 @@ function detectANGLEBackend(): AngleVersion {
|
||||
(gl as any).compileShader(shader);
|
||||
|
||||
if (!(gl as any).getShaderParameter(shader, (gl as any).COMPILE_STATUS)) {
|
||||
return console.error("invalid shader", (gl as any).getShaderInfoLog(shader));
|
||||
console.error("invalid shader", (gl as any).getShaderInfoLog(shader));
|
||||
return AngleVersion.NotAvailable;
|
||||
}
|
||||
|
||||
const source = ext.getTranslatedShaderSource(shader);
|
||||
|
Loading…
Reference in New Issue
Block a user