Skip to content

Commit 007519b

Browse files
WebGLArrayRenderTarget: Missing options in constructor (#27249)
* missing options constructor * cleanup format
1 parent 0fb2333 commit 007519b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/renderers/WebGL3DRenderTarget.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { Data3DTexture } from '../textures/Data3DTexture.js';
33

44
class WebGL3DRenderTarget extends WebGLRenderTarget {
55

6-
constructor( width = 1, height = 1, depth = 1 ) {
6+
constructor( width = 1, height = 1, depth = 1, options = {} ) {
77

8-
super( width, height );
8+
super( width, height, options );
99

1010
this.isWebGL3DRenderTarget = true;
1111

src/renderers/WebGLArrayRenderTarget.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { DataArrayTexture } from '../textures/DataArrayTexture.js';
33

44
class WebGLArrayRenderTarget extends WebGLRenderTarget {
55

6-
constructor( width = 1, height = 1, depth = 1 ) {
6+
constructor( width = 1, height = 1, depth = 1, options = {} ) {
77

8-
super( width, height );
8+
super( width, height, options );
99

1010
this.isWebGLArrayRenderTarget = true;
1111

0 commit comments

Comments
 (0)