Skip to content

Commit

Permalink
fix(renderer): Resize post processing buffers on window resize
Browse files Browse the repository at this point in the history
  • Loading branch information
cohaereo committed Oct 7, 2024
1 parent 722ec52 commit 0eb5219
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/alkahest-renderer/src/renderer/gbuffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ impl GBuffer {
self.atmos_ss_far_lookup.resize(new_size)?;
self.ssao_intermediate.resize(new_size)?;

self.postprocess_ping.resize(new_size)?;
self.postprocess_pong.resize(new_size)?;

self.current_size = new_size;
Ok(())
}
Expand Down

0 comments on commit 0eb5219

Please sign in to comment.