From ddace9b1c721f68e0e6ca12aa68fe42be57ad691 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 23 Apr 2024 15:28:41 +0200 Subject: [PATCH] [ts][player] Fix error message in case WebGL context could not be created. --- spine-ts/spine-player/src/Player.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-ts/spine-player/src/Player.ts b/spine-ts/spine-player/src/Player.ts index 9274eae3a7..1cea2bddb2 100644 --- a/spine-ts/spine-player/src/Player.ts +++ b/spine-ts/spine-player/src/Player.ts @@ -336,7 +336,7 @@ export class SpinePlayer implements Disposable { this.sceneRenderer = new SceneRenderer(this.canvas, this.context, true); if (config.showLoading) this.loadingScreen = new LoadingScreen(this.sceneRenderer); } catch (e) { - this.showError("Sorry, your browser does not support \nPlease use the latest version of Firefox, Chrome, Edge, or Safari.", e as any); + this.showError("Sorry, your browser does not support WebGL.\nPlease use the latest version of Firefox, Chrome, Edge, or Safari.", e as any); return null; }