mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Fix the video software backend. (closes issue 4269)
Some warning fixes and cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7361 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bca4f94b47
commit
571013acd8
32 changed files with 213 additions and 629 deletions
|
@ -293,7 +293,7 @@ void GLVertexFormat::EnableComponents(u32 components)
|
|||
// TODO - Is this a good spot for this code?
|
||||
if (g_ActiveConfig.bDisableLighting)
|
||||
{
|
||||
for (int i = 0; i < xfregs.numChan.numColorChans; i++)
|
||||
for (u32 i = 0; i < xfregs.numChan.numColorChans; i++)
|
||||
{
|
||||
xfregs.alpha[i].enablelighting = false;
|
||||
xfregs.color[i].enablelighting = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue