mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix depth buffer clear for Zelda MM.
Fixed Legend of Zelda: Majora's Mask Issue #1921
This commit is contained in:
parent
4f302cc777
commit
8b9d955f7a
|
@ -659,9 +659,7 @@ void GraphicsDrawer::_updateStates(DrawingState _drawingState) const
|
|||
|
||||
if (isCurrentColorImageDepthImage() &&
|
||||
config.generalEmulation.enableFragmentDepthWrite != 0 &&
|
||||
config.frameBufferEmulation.N64DepthCompare == 0 &&
|
||||
(config.generalEmulation.hacks & hack_ZeldaMM) == 0
|
||||
) {
|
||||
config.frameBufferEmulation.N64DepthCompare == 0) {
|
||||
// Current render target is depth buffer.
|
||||
// Shader will set gl_FragDepth to shader color, see ShaderCombiner ctor
|
||||
// Here we enable depth buffer write.
|
||||
|
|
Loading…
Reference in New Issue
Block a user