Skip to content

Commit

Permalink
Examples: Fix webgpu_multiple_rendertargets warning (#28015)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag authored Mar 28, 2024
1 parent 156cb35 commit fa5b009
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/webgpu_multiple_rendertargets.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
const gui = new GUI();
gui.add( parameters, 'samples', 0, 4 ).step( 1 );
gui.add( parameters, 'wireframe' );
gui.onChange( render );
*/

Expand Down Expand Up @@ -142,7 +141,7 @@

const loader = new THREE.TextureLoader();

const diffuse = loader.load( 'textures/hardwood2_diffuse.jpg', render );
const diffuse = loader.load( 'textures/hardwood2_diffuse.jpg' );
diffuse.colorSpace = THREE.SRGBColorSpace;
diffuse.wrapS = THREE.RepeatWrapping;
diffuse.wrapT = THREE.RepeatWrapping;
Expand Down

0 comments on commit fa5b009

Please sign in to comment.