mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12: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:
|
case rsx::primitive_type::line_loop:
|
||||||
for (unsigned i = 0; i < count; ++i)
|
for (unsigned i = 0; i < count; ++i)
|
||||||
dst[i] = i;
|
typedDst[i] = i;
|
||||||
dst[count] = 0;
|
typedDst[count] = 0;
|
||||||
return;
|
return;
|
||||||
case rsx::primitive_type::triangle_fan:
|
case rsx::primitive_type::triangle_fan:
|
||||||
case rsx::primitive_type::polygon:
|
case rsx::primitive_type::polygon:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue