summaryrefslogtreecommitdiff
path: root/platform/web
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-17 15:26:10 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-17 15:41:54 +0100
commit68d71f88f5a4a7b71c0a830aca6a71bb0a1f1bd2 (patch)
treeae62ed6df03a8e08633ca57382f5cc268f0a89ff /platform/web
parent9ebb3e3107bee82da2b4eafad685978c26bc1a2c (diff)
Improve DisplayServer message for video card drivers failure
And remove leftover duplicated message on Android.
Diffstat (limited to 'platform/web')
-rw-r--r--platform/web/display_server_web.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/web/display_server_web.cpp b/platform/web/display_server_web.cpp
index 7dd0515d3f..fdb9d107a7 100644
--- a/platform/web/display_server_web.cpp
+++ b/platform/web/display_server_web.cpp
@@ -787,8 +787,10 @@ DisplayServerWeb::DisplayServerWeb(const String &p_rendering_driver, WindowMode
RasterizerGLES3::make_current();
} else {
- OS::get_singleton()->alert("Your browser does not seem to support WebGL2. Please update your browser version.",
- "Unable to initialize video driver");
+ OS::get_singleton()->alert(
+ "Your browser seems not to support WebGL 2.\n\n"
+ "If possible, consider updating your browser version and video card drivers.",
+ "Unable to initialize WebGL 2 video driver");
RasterizerDummy::make_current();
}
#else