mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
OGL: Workaround gl_ClipDistance bug on Mesa i965.
This commit is contained in:
@ -482,9 +482,7 @@ Renderer::Renderer()
|
||||
GLExtensions::Supports("GL_ARB_shading_language_420pack");
|
||||
|
||||
// Clip distance support is useless without a method to clamp the depth range
|
||||
g_Config.backend_info.bSupportsDepthClamp =
|
||||
GLExtensions::Supports("GL_ARB_depth_clamp") &&
|
||||
!DriverDetails::HasBug(DriverDetails::BUG_BROKENCLIPDISTANCE);
|
||||
g_Config.backend_info.bSupportsDepthClamp = GLExtensions::Supports("GL_ARB_depth_clamp");
|
||||
|
||||
g_ogl_config.bSupportsGLSLCache = GLExtensions::Supports("GL_ARB_get_program_binary");
|
||||
g_ogl_config.bSupportsGLPinnedMemory = GLExtensions::Supports("GL_AMD_pinned_memory");
|
||||
|
Reference in New Issue
Block a user