diff options
author | patwork <patwork@gmail.com> | 2024-05-12 04:16:02 +0200 |
---|---|---|
committer | patwork <patwork@gmail.com> | 2024-05-22 11:32:25 +0200 |
commit | 1a89ae70eb24057c1d4b87958eae647c2b42a7ca (patch) | |
tree | bdb8927c79619697e5b34f603c8cd0e9d1d6e405 /platform/web/js/libs/library_godot_webgl2.js | |
parent | 8e2141eac534f6984bb0bdbcefbd17de27ae0993 (diff) | |
download | redot-engine-1a89ae70eb24057c1d4b87958eae647c2b42a7ca.tar.gz |
Upgrade to eslint 9
Diffstat (limited to 'platform/web/js/libs/library_godot_webgl2.js')
-rw-r--r-- | platform/web/js/libs/library_godot_webgl2.js | 2 |
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 005b4b7917..4621b2e3c2 100644 --- a/platform/web/js/libs/library_godot_webgl2.js +++ b/platform/web/js/libs/library_godot_webgl2.js @@ -38,7 +38,7 @@ const GodotWebGL2 = { godot_webgl2_glGetBufferSubData__sig: 'vippp', godot_webgl2_glGetBufferSubData__deps: ['$GL', 'emscripten_webgl_get_current_context'], godot_webgl2_glGetBufferSubData: function (target, offset, size, data) { - const gl_context_handle = _emscripten_webgl_get_current_context(); // eslint-disable-line no-undef + const gl_context_handle = _emscripten_webgl_get_current_context(); const gl = GL.getContext(gl_context_handle); if (gl) { gl.GLctx['getBufferSubData'](target, offset, HEAPU8, data, size); |