summaryrefslogtreecommitdiffstats
path: root/platform/web/js/libs/library_godot_webgl2.js
diff options
context:
space:
mode:
Diffstat (limited to 'platform/web/js/libs/library_godot_webgl2.js')
-rw-r--r--platform/web/js/libs/library_godot_webgl2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/web/js/libs/library_godot_webgl2.js b/platform/web/js/libs/library_godot_webgl2.js
index 8afbdf9e78..3c6de4a071 100644
--- a/platform/web/js/libs/library_godot_webgl2.js
+++ b/platform/web/js/libs/library_godot_webgl2.js
@@ -40,7 +40,7 @@ const GodotWebGL2 = {
if (typeof context.multiviewExt === 'undefined') {
const /** OVR_multiview2 */ ext = context.GLctx.getExtension('OVR_multiview2');
if (!ext) {
- console.error('Trying to call glFramebufferTextureMultiviewOVR() without the OVR_multiview2 extension');
+ GodotRuntime.error('Trying to call glFramebufferTextureMultiviewOVR() without the OVR_multiview2 extension');
return;
}
context.multiviewExt = ext;