diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2013-02-22 03:22:20 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2013-02-22 03:22:20 -0600 |
| commit | 86935ab4fd2d6fe2989a00d9b497fb0a3e08c3b4 (patch) | |
| tree | acd78ae44d675690d4f404113c333b472250b1da /Source/Core/VideoCommon/Src/IndexGenerator.cpp | |
| parent | d3f1bb93f2454ab1e1daf4c2b75d18269719c9b3 (diff) | |
forceinline IndexGenerator::WriteTriangle
Diffstat (limited to 'Source/Core/VideoCommon/Src/IndexGenerator.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/IndexGenerator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/IndexGenerator.cpp b/Source/Core/VideoCommon/Src/IndexGenerator.cpp index a7d073890f..f2d23a7fce 100644 --- a/Source/Core/VideoCommon/Src/IndexGenerator.cpp +++ b/Source/Core/VideoCommon/Src/IndexGenerator.cpp @@ -17,6 +17,7 @@ #include <cstddef> +#include "Common.h" #include "IndexGenerator.h" /* @@ -84,7 +85,7 @@ void IndexGenerator::AddIndices(int primitive, u32 numVerts) } // Triangles -void IndexGenerator::WriteTriangle(u32 index1, u32 index2, u32 index3) +__forceinline void IndexGenerator::WriteTriangle(u32 index1, u32 index2, u32 index3) { *Tptr++ = index1; *Tptr++ = index2; |
