Skip to content

Commit

Permalink
Change after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
JonqsGames committed Apr 11, 2023
1 parent 3f14d33 commit 3392520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/renderer_rd/effects/post_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PostProcessor::PostProcessor() {

post_process.shader.initialize(tonemap_modes);

if (!RendererCompositorRD::singleton->is_xr_enabled()) {
if (!RendererCompositorRD::get_singleton()->is_xr_enabled()) {
post_process.shader.set_variant_enabled(TONEMAP_MODE_NORMAL_MULTIVIEW, false);
post_process.shader.set_variant_enabled(TONEMAP_MODE_BICUBIC_GLOW_FILTER_MULTIVIEW, false);
post_process.shader.set_variant_enabled(TONEMAP_MODE_1D_LUT_MULTIVIEW, false);
Expand Down

0 comments on commit 3392520

Please sign in to comment.