From 64afbd05225535599c39365c2497cd404256450b Mon Sep 17 00:00:00 2001 From: Garrett Johnson Date: Sat, 15 Jun 2024 20:16:27 +0900 Subject: [PATCH] Add missing arguments --- src/renderers/WebGLRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/WebGLRenderer.js b/src/renderers/WebGLRenderer.js index 0e72fbc991d79f..1827223e1891e2 100644 --- a/src/renderers/WebGLRenderer.js +++ b/src/renderers/WebGLRenderer.js @@ -2604,7 +2604,7 @@ class WebGLRenderer { } else { - _gl.texSubImage2D( _gl.TEXTURE_2D, level, dstX, dstY, glFormat, glType, image ); + _gl.texSubImage2D( _gl.TEXTURE_2D, level, dstX, dstY, width, height, glFormat, glType, image ); }