From cd28c846eb7d64c206301b500c311563643464b2 Mon Sep 17 00:00:00 2001 From: raven02 Date: Mon, 29 Jul 2013 16:40:57 +0800 Subject: [PATCH] VertexDecoder: Fix a typo #1 --- GPU/GLES/VertexDecoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/GLES/VertexDecoder.cpp b/GPU/GLES/VertexDecoder.cpp index b7b96daf48..76da9fe3f0 100644 --- a/GPU/GLES/VertexDecoder.cpp +++ b/GPU/GLES/VertexDecoder.cpp @@ -41,7 +41,7 @@ void PrintDecodedVertex(VertexReader &vtx) { vtx.ReadColor0(col0); printf("C0: %f %f %f %f\n", col0[0], col0[1], col0[2], col0[3]); } - if (vtx.hasColor0()) { + if (vtx.hasColor1()) { float col1[3]; vtx.ReadColor1(col1); printf("C1: %f %f %f\n", col1[0], col1[1], col1[2]); @@ -860,4 +860,4 @@ int VertexDecoder::ToString(char *output) const { output += sprintf(output, " (size: %i)", VertexSize()); return output - start; -} \ No newline at end of file +}