Skip to content

Commit

Permalink
Fix tonemapper, incorrect vertex count was specified
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiaanOlij committed Aug 11, 2023
1 parent 7df3933 commit 715ebcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/renderer_rd/effects/tone_mapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,5 +255,5 @@ void ToneMapper::tonemapper(RD::DrawListID p_subpass_draw_list, RID p_source_col
RD::get_singleton()->draw_list_bind_uniform_set(p_subpass_draw_list, uniform_set_cache->get_cache(shader, 3, u_color_correction_texture), 3);

RD::get_singleton()->draw_list_set_push_constant(p_subpass_draw_list, &tonemap.push_constant, sizeof(TonemapPushConstant));
RD::get_singleton()->draw_list_draw(p_subpass_draw_list, false, 1u, 0u);
RD::get_singleton()->draw_list_draw(p_subpass_draw_list, false, 1u, 3u);
}

0 comments on commit 715ebcc

Please sign in to comment.