Merge pull request #3303 from degasus/valgrind
VideoSW: Fix uninitialized variable warnings
This commit is contained in:
commit
9e389ab144
|
@ -633,6 +633,7 @@ void SConfig::LoadDefaults()
|
||||||
|
|
||||||
m_strName = "NONE";
|
m_strName = "NONE";
|
||||||
m_strUniqueID = "00000000";
|
m_strUniqueID = "00000000";
|
||||||
|
m_revision = 0;
|
||||||
}
|
}
|
||||||
static const char* GetRegionOfCountry(DiscIO::IVolume::ECountry country)
|
static const char* GetRegionOfCountry(DiscIO::IVolume::ECountry country)
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,12 +37,12 @@ struct OutputVertexData
|
||||||
ALP_C
|
ALP_C
|
||||||
};
|
};
|
||||||
|
|
||||||
Vec3 mvPosition;
|
Vec3 mvPosition = {};
|
||||||
Vec4 projectedPosition;
|
Vec4 projectedPosition = {};
|
||||||
Vec3 screenPosition;
|
Vec3 screenPosition = {};
|
||||||
Vec3 normal[3];
|
Vec3 normal[3] = {};
|
||||||
u8 color[2][4];
|
u8 color[2][4] = {};
|
||||||
Vec3 texCoords[8];
|
Vec3 texCoords[8] = {};
|
||||||
|
|
||||||
void Lerp(float t, OutputVertexData *a, OutputVertexData *b)
|
void Lerp(float t, OutputVertexData *a, OutputVertexData *b)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue