Skip to content

Commit

Permalink
aaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 15, 2024
1 parent 3e3d0c5 commit 92cfe2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PenSkin.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class PenSkin extends Skin {
this.glDrawArraysInstanced = gl.drawArraysInstanced.bind(gl);
this.glVertexAttribDivisor = gl.vertexAttribDivisor.bind(gl);
} else {
throw new Error('bad');
// WebGL1 may have instanced rendering through the ANGLE_instanced_arrays extension
const instancedArraysExtension = gl.getExtension('ANGLE_instanced_arrays');

Check failure on line 107 in src/PenSkin.js

View workflow job for this annotation

GitHub Actions / build

Unreachable code
if (instancedArraysExtension) {
Expand Down

0 comments on commit 92cfe2d

Please sign in to comment.