Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsx: Fixup for polygon rendering #7031

Merged
merged 1 commit into from
Nov 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions rpcs3/Emu/RSX/Common/BufferUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ namespace
if (is_primitive_restart_enabled && index == primitive_restart_index)
continue;

anchor = index;
anchor = min_max(min_index, max_index, index);
needs_anchor = false;
continue;
}
Expand All @@ -951,7 +951,7 @@ namespace
if (last_index == invalid_index)
{
//Need at least one anchor and one outer index to create a triangle
last_index = index;
last_index = min_max(min_index, max_index, index);
continue;
}

Expand Down