mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
DriverDetails: Disable dual-source blending on AMD OGL drivers.
This commit is contained in:
parent
838b234317
commit
afe707bc18
3 changed files with 13 additions and 2 deletions
|
@ -444,8 +444,9 @@ Renderer::Renderer()
|
|||
g_Config.backend_info.AdapterName = g_ogl_config.gl_renderer;
|
||||
|
||||
g_Config.backend_info.bSupportsDualSourceBlend =
|
||||
GLExtensions::Supports("GL_ARB_blend_func_extended") ||
|
||||
GLExtensions::Supports("GL_EXT_blend_func_extended");
|
||||
(GLExtensions::Supports("GL_ARB_blend_func_extended") ||
|
||||
GLExtensions::Supports("GL_EXT_blend_func_extended")) &&
|
||||
!DriverDetails::HasBug(DriverDetails::BUG_BROKEN_DUAL_SOURCE_BLENDING);
|
||||
g_Config.backend_info.bSupportsPrimitiveRestart =
|
||||
!DriverDetails::HasBug(DriverDetails::BUG_PRIMITIVERESTART) &&
|
||||
((GLExtensions::Version() >= 310) || GLExtensions::Supports("GL_NV_primitive_restart"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue