mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00:00
rsx: Fix line_loop -> line_strip indexing
This commit is contained in:
parent
d33bc540bc
commit
2d99f3556e
1 changed files with 2 additions and 2 deletions
|
@ -304,8 +304,8 @@ void write_index_array_for_non_indexed_non_native_primitive_to_buffer(char* dst,
|
|||
{
|
||||
case rsx::primitive_type::line_loop:
|
||||
for (unsigned i = 0; i < count; ++i)
|
||||
dst[i] = i;
|
||||
dst[count] = 0;
|
||||
typedDst[i] = i;
|
||||
typedDst[count] = 0;
|
||||
return;
|
||||
case rsx::primitive_type::triangle_fan:
|
||||
case rsx::primitive_type::polygon:
|
||||
|
|
Loading…
Add table
Reference in a new issue