mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Disagle hw lighting for Rects.
This commit is contained in:
parent
dbb827efc1
commit
c2b3fc13eb
|
@ -1760,8 +1760,10 @@ graphics::CombinerProgram * CombinerProgramBuilder::buildCombinerProgram(Combine
|
|||
|
||||
const bool bUseLod = combinerInputs.usesLOD();
|
||||
const bool bUseTextures = combinerInputs.usesTexture();
|
||||
const bool bUseHWLight =
|
||||
config.generalEmulation.enableHWLighting != 0 && GBI.isHWLSupported() && combinerInputs.usesShadeColor();
|
||||
const bool bUseHWLight = g_cycleType <= G_CYC_2CYCLE && // Rects not use lighting
|
||||
config.generalEmulation.enableHWLighting != 0 &&
|
||||
GBI.isHWLSupported() &&
|
||||
combinerInputs.usesShadeColor();
|
||||
|
||||
if (bUseHWLight)
|
||||
combinerInputs.addInput(G_GCI_HW_LIGHT);
|
||||
|
|
Loading…
Reference in New Issue
Block a user