Skip to content

Commit

Permalink
Merge pull request godotengine#95640 from kevinkuo52/debug-overdraw-c…
Browse files Browse the repository at this point in the history
…all-count

Fix draw call count and object count for OverDraw display mode on Forward+
  • Loading branch information
akien-mga committed Aug 16, 2024
2 parents 2e400bc + 3388a4a commit 2af825c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ void RenderForwardClustered::_render_scene(RenderDataRD *p_render_data, const Co
int *render_info = p_render_data->render_info ? p_render_data->render_info->info[RS::VIEWPORT_RENDER_INFO_TYPE_VISIBLE] : (int *)nullptr;
_fill_instance_data(RENDER_LIST_OPAQUE, render_info);
_fill_instance_data(RENDER_LIST_MOTION, render_info);
_fill_instance_data(RENDER_LIST_ALPHA);
_fill_instance_data(RENDER_LIST_ALPHA, render_info);

RD::get_singleton()->draw_command_end_label();

Expand Down

0 comments on commit 2af825c

Please sign in to comment.