Fix an uninitialized value warning.

This commit is contained in:
Unknown W. Brackets 2013-12-01 10:56:10 -08:00
parent eb3011fd18
commit 5f2d5d9c55

View File

@ -597,7 +597,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
drawBuffer = transformedExpanded;
TransformedVertex *trans = &transformedExpanded[0];
TransformedVertex saved;
u32 stencilValue;
u32 stencilValue = 0;
for (int i = 0; i < vertexCount; i += 2) {
int index = ((const u16*)inds)[i];
saved = transformed[index];