diff options
| author | degasus <wickmarkus@web.de> | 2015-12-01 22:00:38 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-12-02 21:37:12 +0100 |
| commit | d28c9ae354ef794fb34c1e5d8a6b876e2db9fe61 (patch) | |
| tree | 9a4085c2f053cc43fa2debc581d9409169a8f9b5 /Source/Core/VideoBackends/Software | |
| parent | a5904b522d4bb73e24e8d453566cc1cdcd1b7ccb (diff) | |
VideoSW: Wipe output vertices
They shall be overwritten afterwards.
Diffstat (limited to 'Source/Core/VideoBackends/Software')
| -rw-r--r-- | Source/Core/VideoBackends/Software/NativeVertexFormat.h | 12 |
1 files 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) { |
