From 7a6289b270b95fa436692840e617cc12c82838fe Mon Sep 17 00:00:00 2001 From: Logan Date: Mon, 12 Apr 2021 15:27:07 -0600 Subject: [PATCH] Fix N64 Depth Compare on Intel PC --- src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp b/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp index 2e8d8ce8..1ce273b7 100644 --- a/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp +++ b/src/Graphics/OpenGLContext/GLSL/glsl_CombinerProgramBuilder.cpp @@ -559,7 +559,7 @@ public: std::stringstream ss; ss << "#version " << Utils::to_string(_glinfo.majorVersion) << Utils::to_string(_glinfo.minorVersion) << "0 core " << std::endl; if (config.frameBufferEmulation.N64DepthCompare != Config::dcDisable) { - if (_glinfo.ext_fetch) + if (_glinfo.n64DepthWithFbFetch) ss << "#extension GL_EXT_shader_framebuffer_fetch : enable" << std::endl; else if (_glinfo.imageTextures) { if (_glinfo.majorVersion * 10 + _glinfo.minorVersion < 42) {