mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Add fragmentHeaderCalcLight only if hw light is on.
This commit is contained in:
parent
7af25b2452
commit
04ffc45023
|
@ -1782,7 +1782,8 @@ graphics::CombinerProgram * CombinerProgramBuilder::buildCombinerProgram(Combine
|
|||
m_fragmentHeaderDepthCompare->write(ssShader);
|
||||
}
|
||||
|
||||
m_fragmentHeaderCalcLight->write(ssShader);
|
||||
if (bUseHWLight)
|
||||
m_fragmentHeaderCalcLight->write(ssShader);
|
||||
|
||||
/* Write body */
|
||||
if (gDP.otherMode.cycleType == G_CYC_2CYCLE)
|
||||
|
|
Loading…
Reference in New Issue
Block a user