Skip to content

Commit

Permalink
[ts][player] Fix error message in case WebGL context could not be cre…
Browse files Browse the repository at this point in the history
…ated.
  • Loading branch information
badlogic committed Apr 23, 2024
1 parent ac7f065 commit ddace9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-ts/spine-player/src/Player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ddace9b

Please sign in to comment.