Switch to WebGL canvas context

This commit is contained in:
redphx
2024-08-06 19:51:16 +07:00
parent 5dc6f0c2f6
commit c1af19072d
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ export class WebGL2Player {
#setupShaders() {
BxLogger.info(LOG_TAG, 'Setting up', getPref(PrefKey.VIDEO_POWER_PREFERENCE));
const gl = this.#$canvas.getContext('webgl2', {
const gl = this.#$canvas.getContext('webgl', {
isBx: true,
antialias: true,
alpha: false,