summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/IndexGenerator.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2013-04-10 12:45:44 +0200
committerdegasus <wickmarkus@web.de>2013-04-10 12:45:44 +0200
commit1aa10b579a017257e74d4c26d2aab36944c55949 (patch)
treea123106c2d69669b8d85b7b3c5ccecbeaf29b3e6 /Source/Core/VideoCommon/Src/IndexGenerator.cpp
parenta6412f7bd4f09ce299638afbfd0a6b085e681902 (diff)
fix triangle_fan size calculation
wasn't updated for the new primitive restart implementation
Diffstat (limited to 'Source/Core/VideoCommon/Src/IndexGenerator.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/IndexGenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/IndexGenerator.cpp b/Source/Core/VideoCommon/Src/IndexGenerator.cpp
index 5f95f30884..28c62193c2 100644
--- a/Source/Core/VideoCommon/Src/IndexGenerator.cpp
+++ b/Source/Core/VideoCommon/Src/IndexGenerator.cpp
@@ -191,8 +191,8 @@ template <bool pr> void IndexGenerator::AddFan(u32 numVerts)
* or as strip: 1203, 5647
*
* Warning:
- * A simple triangle have to be rendered for three vertices.
- * SMS do this for sun rays
+ * A simple triangle has to be rendered for three vertices.
+ * ZWW do this for sun rays
*/
template <bool pr> void IndexGenerator::AddQuads(u32 numVerts)
{