mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Don't set uniforms for N64 depth compare when it is not enabled.
This commit is contained in:
parent
e8bb0a8438
commit
7af7e87b7b
|
@ -878,7 +878,7 @@ void ShaderCombiner::updateDepthInfo(bool _bForce) {
|
|||
else
|
||||
_setFV2Uniform(m_uniforms.uDepthScale, gSP.viewport.vscale[2], gSP.viewport.vtrans[2], _bForce);
|
||||
|
||||
if (!video().getRender().isImageTexturesSupported())
|
||||
if (config.frameBufferEmulation.N64DepthCompare == 0 || !video().getRender().isImageTexturesSupported())
|
||||
return;
|
||||
|
||||
FrameBuffer * pBuffer = frameBufferList().getCurrent();
|
||||
|
|
Loading…
Reference in New Issue
Block a user