summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/OGLMain.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2021-12-28 02:45:14 -0500
committerGitHub <noreply@github.com>2021-12-28 02:45:14 -0500
commit01e8e950e8f381c852c842183fe6831d5e83b503 (patch)
tree6ebe9d05ef1ffc320c8480c06b6d8088623b145e /Source/Core/VideoBackends/OGL/OGLMain.cpp
parent8d237eb1020dd57d7521f1ea5af16045e7991bf4 (diff)
parent056613ecc5c79941d4bc9747bdc6f79fe332183a (diff)
Merge pull request #10292 from OatmealDome/lodbias-take-two
PixelShaderGen: Use LOD bias when sampling texture on Metal and OpenGL ES
Diffstat (limited to 'Source/Core/VideoBackends/OGL/OGLMain.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/OGLMain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/OGLMain.cpp b/Source/Core/VideoBackends/OGL/OGLMain.cpp
index b83c3af638..4f4dc21d25 100644
--- a/Source/Core/VideoBackends/OGL/OGLMain.cpp
+++ b/Source/Core/VideoBackends/OGL/OGLMain.cpp
@@ -93,6 +93,7 @@ void VideoBackend::InitBackendInfo()
g_Config.backend_info.bSupportsPartialDepthCopies = true;
g_Config.backend_info.bSupportsShaderBinaries = false;
g_Config.backend_info.bSupportsPipelineCacheData = false;
+ g_Config.backend_info.bSupportsLodBiasInSampler = true;
// TODO: There is a bug here, if texel buffers or SSBOs/atomics are not supported the graphics
// options will show the option when it is not supported. The only way around this would be