From 46fdba5f8b09e2c52247ab28047f578e32414f1a Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Mon, 25 Oct 2021 19:16:40 +0200 Subject: [HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer. Note, the editor build requires the mbedtls module to be manually enabled, as it is currently needed as a ResourceUID dependency. This will need to be addressed in a separate PR. --- misc/dist/html/editor.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'misc/dist') diff --git a/misc/dist/html/editor.html b/misc/dist/html/editor.html index 69e267f665..8b077a5725 100644 --- a/misc/dist/html/editor.html +++ b/misc/dist/html/editor.html @@ -281,8 +281,7 @@

@@ -562,8 +561,9 @@ const is_project_manager = args.filter(function(v) { return v == '--project-manager' }).length != 0; const is_game = !is_editor && !is_project_manager; if (video_driver) { - args.push('--video-driver', video_driver); + args.push('--rendering-driver', video_driver); } + if (is_game) { if (game) { console.error("A game is already running. Close it first"); @@ -651,9 +651,9 @@ selectVideoMode(); showTab('editor'); setLoaderEnabled(false); - const args = ['--project-manager']; + const args = ['--project-manager', '--single-window']; if (video_driver) { - args.push('--video-driver', video_driver); + args.push('--rendering-driver', video_driver); } editor.start({'args': args, 'persistentDrops': true}).then(function() { setStatusMode('hidden'); -- cgit v1.2.3