Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudRohlinger committed Nov 26, 2024
1 parent 92d0456 commit 20b9153
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/renderers/webgpu/WebGPUBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -1239,13 +1239,10 @@ class WebGPUBackend extends Backend {

const renderContextData = this.get( renderContext );


if ( renderContextData.currentTimestampQueryBuffers === undefined ) return;

const { resultBuffer } = renderContextData.currentTimestampQueryBuffers;



await this.device.queue.onSubmittedWorkDone();

if ( resultBuffer.mapState === 'unmapped' ) {
Expand Down

0 comments on commit 20b9153

Please sign in to comment.