Skip to content

Commit

Permalink
Add 'high-performance' option to WebGL
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisd1100 committed May 24, 2023
1 parent e030e0c commit 8244a3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/web/matoya-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ const MTY_WEB_API = {
MTY.gl = canvas.getContext('webgl2', {
depth: false,
antialias: false,
powerPreference: 'high-performance',
});
},
web_set_canvas_size: function (width, height) {
Expand Down

0 comments on commit 8244a3c

Please sign in to comment.