From d2b7eb29fb5beaf9f3ab29e88e99c97356d1dbcf Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Wed, 10 Jun 2026 21:40:12 +0100 Subject: [PATCH] Fix motion blur --- .../graphics-library/universal-rendering-context.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/graphics/graphics-library/universal-rendering-context.ts b/src/graphics/graphics-library/universal-rendering-context.ts index 98d8707..7cc8971 100644 --- a/src/graphics/graphics-library/universal-rendering-context.ts +++ b/src/graphics/graphics-library/universal-rendering-context.ts @@ -31,11 +31,11 @@ export const getUniversalRenderingContext = ( result.isWebGL2 = true; } } else { - result = (canvas.getContext('webgl') || - canvas.getContext('experimental-webgl', { - ...contextAttributes, - alpha: false, - })) as UniversalRenderingContext; + result = (canvas.getContext('webgl', contextAttributes) || + canvas.getContext( + 'experimental-webgl', + contextAttributes + )) as UniversalRenderingContext; if (!result) { throw new Error('Neither WebGL nor WebGL2 is supported');