summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/IndexGenerator.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-02-22 03:22:20 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-02-22 03:22:20 -0600
commit86935ab4fd2d6fe2989a00d9b497fb0a3e08c3b4 (patch)
treeacd78ae44d675690d4f404113c333b472250b1da /Source/Core/VideoCommon/Src/IndexGenerator.cpp
parentd3f1bb93f2454ab1e1daf4c2b75d18269719c9b3 (diff)
forceinline IndexGenerator::WriteTriangle
Diffstat (limited to 'Source/Core/VideoCommon/Src/IndexGenerator.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/IndexGenerator.cpp3
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;