Revert "gsdx-ogl: enable again geometry shader on Mesa"

This partially reverts commit e774fecb77.

Fix issue #605
This commit is contained in:
Gregory Hainaut 2015-06-16 18:32:23 +02:00
parent c1d39a5f57
commit 263583ebcc
1 changed files with 4 additions and 0 deletions

View File

@ -406,6 +406,10 @@ namespace GLLoader {
GLuint major_gl = s[dot-1]-'0'; GLuint major_gl = s[dot-1]-'0';
GLuint minor_gl = s[dot+1]-'0'; GLuint minor_gl = s[dot+1]-'0';
if (mesa_amd_buggy_driver) {
fprintf(stderr, "Buggy driver detected. Geometry shaders will be disabled\n");
found_geometry_shader = false;
}
if (theApp.GetConfig("override_geometry_shader", -1) != -1) { if (theApp.GetConfig("override_geometry_shader", -1) != -1) {
found_geometry_shader = !!theApp.GetConfig("override_geometry_shader", -1); found_geometry_shader = !!theApp.GetConfig("override_geometry_shader", -1);
fprintf(stderr, "Overriding geometry shaders detection\n"); fprintf(stderr, "Overriding geometry shaders detection\n");