From df9a5cc0f293a9bf86e1670d6d0d3ae94f8d5d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 24 Sep 2020 02:09:39 +0200 Subject: [PATCH] Buildfix --- GPU/Common/IndexGenerator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GPU/Common/IndexGenerator.cpp b/GPU/Common/IndexGenerator.cpp index b0ef2fb0bb..dab1ad6214 100644 --- a/GPU/Common/IndexGenerator.cpp +++ b/GPU/Common/IndexGenerator.cpp @@ -89,9 +89,11 @@ void IndexGenerator::AddList(int numVerts, bool clockwise) { } } +#ifdef _M_SSE inline __m128i mm_set_epi16_backwards(short w0, short w1, short w2, short w3, short w4, short w5, short w6, short w7) { return _mm_set_epi16(w7, w6, w5, w4, w3, w2, w1, w0); } +#endif void IndexGenerator::AddStrip(int numVerts, bool clockwise) { int wind = clockwise ? 1 : 2;