diff options
author | Bastiaan Olij <mux213@gmail.com> | 2023-08-11 10:07:16 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2023-08-11 10:07:16 +1000 |
commit | 715ebcc3f15301e6fef85cdecf5acd3cd10dac55 (patch) | |
tree | dc7124a4e91a063eceddb0bc1e8a19ecd3457726 /servers/rendering/renderer_rd/effects/tone_mapper.cpp | |
parent | 7df393312fa8eab98231f2c335366a1ef6205367 (diff) | |
download | redot-engine-715ebcc3f15301e6fef85cdecf5acd3cd10dac55.tar.gz |
Fix tonemapper, incorrect vertex count was specified
Diffstat (limited to 'servers/rendering/renderer_rd/effects/tone_mapper.cpp')
-rw-r--r-- | servers/rendering/renderer_rd/effects/tone_mapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/effects/tone_mapper.cpp b/servers/rendering/renderer_rd/effects/tone_mapper.cpp index 2c537c3a1c..48c6511408 100644 --- a/servers/rendering/renderer_rd/effects/tone_mapper.cpp +++ b/servers/rendering/renderer_rd/effects/tone_mapper.cpp @@ -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); } |