Merge pull request #275 from mbeniamino/master

GSdx: disable automatic use of separate shader objects for Intel driver (likely a mesa bugs).
This commit is contained in:
Gregory Hainaut 2014-08-24 17:37:41 +02:00
commit e019979749
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ namespace GLLoader {
for (GLint i = 0; i < max_ext; i++) {
string ext((const char*)gl_GetStringi(GL_EXTENSIONS, i));
if (ext.compare("GL_ARB_separate_shader_objects") == 0) {
if (!fglrx_buggy_driver && !mesa_amd_buggy_driver) found_GL_ARB_separate_shader_objects = true;
if (!fglrx_buggy_driver && !mesa_amd_buggy_driver && !intel_buggy_driver) found_GL_ARB_separate_shader_objects = true;
else fprintf(stderr, "Buggy driver detected, GL_ARB_separate_shader_objects will be disabled\n");
}
if (ext.compare("GL_ARB_shading_language_420pack") == 0) found_GL_ARB_shading_language_420pack = true;