Skip to content

Commit 4714e95

Browse files
committed
Merge pull request #80502 from BastiaanOlij/fix_mobile_tonemapper
Fix tonemapper, incorrect vertex count was specified
2 parents a8edbcf + 715ebcc commit 4714e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/rendering/renderer_rd/effects/tone_mapper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,5 +255,5 @@ void ToneMapper::tonemapper(RD::DrawListID p_subpass_draw_list, RID p_source_col
255255
RD::get_singleton()->draw_list_bind_uniform_set(p_subpass_draw_list, uniform_set_cache->get_cache(shader, 3, u_color_correction_texture), 3);
256256

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

0 commit comments

Comments
 (0)