@@ -, +, @@ --- cogl/driver/gl/gl/cogl-driver-gl.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) --- a/cogl/driver/gl/gl/cogl-driver-gl.c +++ a/cogl/driver/gl/gl/cogl-driver-gl.c @@ -417,9 +417,23 @@ } if (COGL_CHECK_GL_VERSION (ctx->glsl_major, ctx->glsl_minor, 1, 2)) - /* We want to use version 120 if it is available so that the - * gl_PointCoord can be used. */ - ctx->glsl_version_to_use = 120; + { + if (ctx->gpu.vendor == COGL_GPU_INFO_VENDOR_ATI) + { + /* The AMD/ATI fglrx driver requires GLSL 1.50 in order to + * use a forward compatible GL3 context. + * + * See: https://bugzilla.gnome.org/show_bug.cgi?id=756306 + */ + ctx->glsl_version_to_use = 150; + } + else + { + /* We want to use version 120 if it is available so that the + * gl_PointCoord can be used. */ + ctx->glsl_version_to_use = 120; + } + } else ctx->glsl_version_to_use = 110; --