Skip to content

Commit

Permalink
getSupportedExtensions should return an array
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamfsk committed May 3, 2023
1 parent 6686c06 commit 9061e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/WebGLRenderingContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export default class WebGLRenderingContext {

testFuncs.forEach(key => {
WebGLRenderingContext.prototype[key] = function() {
return {};
return key === 'getSupportedExtensions' ? [] : {};
}
});

Expand Down

0 comments on commit 9061e67

Please sign in to comment.