Merge pull request #3303 from degasus/valgrind

VideoSW: Fix uninitialized variable warnings
This commit is contained in:
Mathew Maidment 2015-12-02 16:35:53 -05:00
commit 9e389ab144
2 changed files with 7 additions and 6 deletions

View File

@ -633,6 +633,7 @@ void SConfig::LoadDefaults()
m_strName = "NONE";
m_strUniqueID = "00000000";
m_revision = 0;
}
static const char* GetRegionOfCountry(DiscIO::IVolume::ECountry country)
{

View File

@ -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)
{