mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Clean up gcc/g++ compiler warnings that have accumulated.
This commit is contained in:
parent
43d673b576
commit
e85438cba0
42 changed files with 82 additions and 106 deletions
|
@ -302,6 +302,7 @@ void PixelShaderManager::SetConstants()
|
|||
float GC_ALIGNED16(material[4]);
|
||||
float NormalizationCoef = 1 / 255.0f;
|
||||
|
||||
// TODO: This code is wrong. i goes out of range for xfregs.ambColor.
|
||||
for (int i = 0; i < 4; ++i)
|
||||
{
|
||||
if (nMaterialsChanged & (1 << i))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue