Skip to content

Commit ddace9b

Browse files
committed
[ts][player] Fix error message in case WebGL context could not be created.
1 parent ac7f065 commit ddace9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spine-ts/spine-player/src/Player.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ export class SpinePlayer implements Disposable {
336336
this.sceneRenderer = new SceneRenderer(this.canvas, this.context, true);
337337
if (config.showLoading) this.loadingScreen = new LoadingScreen(this.sceneRenderer);
338338
} catch (e) {
339-
this.showError("Sorry, your browser does not support \nPlease use the latest version of Firefox, Chrome, Edge, or Safari.", e as any);
339+
this.showError("Sorry, your browser does not support WebGL.\nPlease use the latest version of Firefox, Chrome, Edge, or Safari.", e as any);
340340
return null;
341341
}
342342

0 commit comments

Comments
 (0)