softgpu: Don't call rectangles quads.

GLES has quads and they work pretty differently.
This commit is contained in:
Unknown W. Brackets 2014-01-18 16:39:07 -08:00
parent 2e91adc607
commit b95f9cf9d1
3 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ static void RotateUVThrough(VertexData &tl, VertexData &tr, VertexData &bl, Vert
}
}
void ProcessQuad(const VertexData& v0, const VertexData& v1)
void ProcessRect(const VertexData& v0, const VertexData& v1)
{
if (!gstate.isModeThrough()) {
VertexData buf[4];

View File

@ -24,6 +24,6 @@ namespace Clipper {
void ProcessPoint(VertexData& v0);
void ProcessLine(VertexData& v0, VertexData& v1);
void ProcessTriangle(VertexData& v0, VertexData& v1, VertexData& v2);
void ProcessQuad(const VertexData& v0, const VertexData& v1);
void ProcessRect(const VertexData& v0, const VertexData& v1);
}

View File

@ -352,7 +352,7 @@ void TransformUnit::SubmitPrimitive(void* vertices, void* indices, u32 prim_type
}
case GE_PRIM_RECTANGLES:
Clipper::ProcessQuad(data[0], data[1]);
Clipper::ProcessRect(data[0], data[1]);
break;
case GE_PRIM_LINES: