1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix N64 Depth Compare on Intel PC

This commit is contained in:
Logan 2021-04-12 15:27:07 -06:00 committed by Sergey Lipskiy
parent d27ce4781f
commit 7a6289b270

View File

@ -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) {