From d28c9ae354ef794fb34c1e5d8a6b876e2db9fe61 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 1 Dec 2015 22:00:38 +0100 Subject: [PATCH] VideoSW: Wipe output vertices They shall be overwritten afterwards. --- .../Core/VideoBackends/Software/NativeVertexFormat.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Core/VideoBackends/Software/NativeVertexFormat.h b/Source/Core/VideoBackends/Software/NativeVertexFormat.h index 400a7dabb0..83f771b26b 100644 --- a/Source/Core/VideoBackends/Software/NativeVertexFormat.h +++ b/Source/Core/VideoBackends/Software/NativeVertexFormat.h @@ -37,12 +37,12 @@ struct OutputVertexData ALP_C }; - Vec3 mvPosition; - Vec4 projectedPosition; - Vec3 screenPosition; - Vec3 normal[3]; - u8 color[2][4]; - Vec3 texCoords[8]; + Vec3 mvPosition = {}; + Vec4 projectedPosition = {}; + Vec3 screenPosition = {}; + Vec3 normal[3] = {}; + u8 color[2][4] = {}; + Vec3 texCoords[8] = {}; void Lerp(float t, OutputVertexData *a, OutputVertexData *b) {