VideoConfig: Add a field for indicating logic op support in the backend

This commit is contained in:
Stenzek
2018-05-26 00:04:18 +10:00
parent 3d44dc3981
commit 640bfb8135
10 changed files with 16 additions and 1 deletions

View File

@ -521,6 +521,9 @@ Renderer::Renderer()
// depth clamping.
g_Config.backend_info.bSupportsDepthClamp = false;
// GLES does not support logic op.
g_Config.backend_info.bSupportsLogicOp = false;
if (GLExtensions::Supports("GL_EXT_shader_framebuffer_fetch"))
{
g_ogl_config.SupportedFramebufferFetch = EsFbFetchType::FbFetchExt;