Skip to content

Commit e52f524

Browse files
authored
Backend: Fix signature. (#30644)
1 parent 2da5118 commit e52f524

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/renderers/common/Backend.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ class Backend {
344344
* @abstract
345345
* @param {Texture} srcTexture - The source texture.
346346
* @param {Texture} dstTexture - The destination texture.
347-
* @param {?Vector4} [srcRegion=null] - The region of the source texture to copy.
347+
* @param {?(Box3|Box2)} [srcRegion=null] - The region of the source texture to copy.
348348
* @param {?(Vector2|Vector3)} [dstPosition=null] - The destination position of the copy.
349349
* @param {number} [srcLevel=0] - The source mip level to copy from.
350350
* @param {number} [dstLevel=0] - The destination mip level to copy to.

Diff for: src/renderers/webgl-fallback/WebGLBackend.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ class WebGLBackend extends Backend {
18921892
*
18931893
* @param {Texture} srcTexture - The source texture.
18941894
* @param {Texture} dstTexture - The destination texture.
1895-
* @param {?Vector4} [srcRegion=null] - The region of the source texture to copy.
1895+
* @param {?(Box3|Box2)} [srcRegion=null] - The region of the source texture to copy.
18961896
* @param {?(Vector2|Vector3)} [dstPosition=null] - The destination position of the copy.
18971897
* @param {number} [srcLevel=0] - The source mip level to copy from.
18981898
* @param {number} [dstLevel=0] - The destination mip level to copy to.

0 commit comments

Comments
 (0)