summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/IndexGenerator.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2009-09-30 00:28:27 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2009-09-30 00:28:27 +0000
commitfb258e3ca5930d66b4c0dbb796731b9080cb9282 (patch)
tree59e5c42fcb0900f52c179f87f67973897905a1e4 /Source/Core/VideoCommon/Src/IndexGenerator.cpp
parent076e7273763b262994ef899433ba29efadfa02de (diff)
Base of OpenCL code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4346 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/IndexGenerator.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/IndexGenerator.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/Src/IndexGenerator.cpp b/Source/Core/VideoCommon/Src/IndexGenerator.cpp
index 8390e7c306..39b4acc3a7 100644
--- a/Source/Core/VideoCommon/Src/IndexGenerator.cpp
+++ b/Source/Core/VideoCommon/Src/IndexGenerator.cpp
@@ -164,8 +164,8 @@ void IndexGenerator2::Start(unsigned short *Triangleptr,unsigned short *Lineptr,
TindexLen = 0;
LindexLen = 0;
PindexLen = 0;
- LastTPrimitive = None;
- LastLPrimitive = None;
+ LastTPrimitive = Prim_None;
+ LastLPrimitive = Prim_None;
}
// Triangles
void IndexGenerator2::AddList(int numVerts)
@@ -182,7 +182,7 @@ void IndexGenerator2::AddList(int numVerts)
index += numVerts;
numT += numTris;
Tadds++;
- LastTPrimitive = List;
+ LastTPrimitive = Prim_List;
}
void IndexGenerator2::AddStrip(int numVerts)
@@ -201,7 +201,7 @@ void IndexGenerator2::AddStrip(int numVerts)
index += numVerts;
numT += numTris;
Tadds++;
- LastTPrimitive = Strip;
+ LastTPrimitive = Prim_Strip;
}
void IndexGenerator2::AddFan(int numVerts)
{
@@ -217,7 +217,7 @@ void IndexGenerator2::AddFan(int numVerts)
index += numVerts;
numT += numTris;
Tadds++;
- LastTPrimitive = Fan;
+ LastTPrimitive = Prim_Fan;
}
void IndexGenerator2::AddQuads(int numVerts)
@@ -237,7 +237,7 @@ void IndexGenerator2::AddQuads(int numVerts)
index += numVerts;
numT += numTris;
Tadds++;
- LastTPrimitive = List;
+ LastTPrimitive = Prim_List;
}
@@ -255,7 +255,7 @@ void IndexGenerator2::AddLineList(int numVerts)
index += numVerts;
numL += numLines;
Ladds++;
- LastLPrimitive = List;
+ LastLPrimitive = Prim_List;
}
void IndexGenerator2::AddLineStrip(int numVerts)
@@ -271,7 +271,7 @@ void IndexGenerator2::AddLineStrip(int numVerts)
index += numVerts;
numL += numLines;
Ladds++;
- LastLPrimitive = Strip;
+ LastLPrimitive = Prim_Strip;
}