From fb258e3ca5930d66b4c0dbb796731b9080cb9282 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Wed, 30 Sep 2009 00:28:27 +0000 Subject: Base of OpenCL code git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4346 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/IndexGenerator.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Source/Core/VideoCommon/Src/IndexGenerator.cpp') 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; } -- cgit v1.2.3