Skip to content

Commit

Permalink
Fix stray line in NFS Underground Rivals
Browse files Browse the repository at this point in the history
Fixes #18846
  • Loading branch information
hrydgard committed Feb 12, 2024
1 parent 8347396 commit c50399f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions GPU/Common/IndexGenerator.cpp
Expand Up @@ -18,8 +18,10 @@
#include <cstring>

#include "ppsspp_config.h"
#include "CPUDetect.h"
#include "Common.h"

#include "Common/CPUDetect.h"
#include "Common/Common.h"
#include "Common/Log.h"

#ifdef _M_SSE
#include <emmintrin.h>
Expand All @@ -32,7 +34,8 @@
#include <arm_neon.h>
#endif
#endif
#include "IndexGenerator.h"

#include "GPU/Common/IndexGenerator.h"

// Points don't need indexing...
const u8 IndexGenerator::indexedPrimitiveType[7] = {
Expand Down Expand Up @@ -211,6 +214,7 @@ void IndexGenerator::AddFan(int numVerts, int indexOffset, bool clockwise) {
//Lines
void IndexGenerator::AddLineList(int numVerts, int indexOffset) {
u16 *outInds = inds_;
numVerts &= ~1;
for (int i = 0; i < numVerts; i += 2) {
*outInds++ = indexOffset + i;
*outInds++ = indexOffset + i + 1;
Expand Down

0 comments on commit c50399f

Please sign in to comment.