diff --git a/plugins/GSdx/GSdx.cpp b/plugins/GSdx/GSdx.cpp index a6c1bf0e1a..6980d5f8dc 100644 --- a/plugins/GSdx/GSdx.cpp +++ b/plugins/GSdx/GSdx.cpp @@ -407,7 +407,7 @@ void GSdxApp::Init() m_default_configuration["override_GL_ARB_multi_bind"] = "-1"; m_default_configuration["override_GL_ARB_shader_image_load_store"] = "-1"; m_default_configuration["override_GL_ARB_shader_storage_buffer_object"] = "-1"; - m_default_configuration["override_GL_ARB_sparse_texture"] = "0"; + m_default_configuration["override_GL_ARB_sparse_texture"] = "-1"; m_default_configuration["override_GL_ARB_sparse_texture2"] = "-1"; m_default_configuration["override_GL_ARB_texture_view"] = "-1"; m_default_configuration["override_GL_ARB_vertex_attrib_binding"] = "-1"; diff --git a/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp b/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp index 7292c1a0d4..23c48e7ef0 100644 --- a/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp +++ b/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp @@ -259,13 +259,16 @@ namespace GLLoader { { int max_ext = 0; glGetIntegerv(GL_NUM_EXTENSIONS, &max_ext); + for (GLint i = 0; i < max_ext; i++) { + std::string ext{(const char*)glGetStringi(GL_EXTENSIONS, i)}; + GLExtension::Set(ext); + //fprintf(stderr, "DEBUG ext: %s\n", ext.c_str()); + } - if (glGetStringi && max_ext) { - for (GLint i = 0; i < max_ext; i++) { - std::string ext{(const char*)glGetStringi(GL_EXTENSIONS, i)}; - GLExtension::Set(ext); - //fprintf(stderr, "DEBUG ext: %s\n", ext.c_str()); - } + // Disable sparse by default (Note AMD is completely broken). + // AMD issue tracker https://community.amd.com/thread/237558 + if (true) { + GLExtension::Set("GL_ARB_sparse_texture", false); } // Mandatory for both renderer