summarylogtreecommitdiffstats
path: root/catalyst mutter cogl.patch
diff options
context:
space:
mode:
authorNorbert Pfeiler2016-10-31 17:38:21 +0100
committerNorbert Pfeiler2016-10-31 17:38:21 +0100
commit357d9e2a5aca2528cf12afcb4108ed0b030bdd80 (patch)
tree09d24d1ff5de26b9475dddaf02c9188b1a26f48b /catalyst mutter cogl.patch
parent74dadc24a9821cf8497dfdd7d71ebce46ad69ed3 (diff)
downloadaur-357d9e2a5aca2528cf12afcb4108ed0b030bdd80.tar.gz
3.20.3 → 3.22.1+41+ge8fc090 and added cogl patch
Diffstat (limited to 'catalyst mutter cogl.patch')
-rw-r--r--catalyst mutter cogl.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/catalyst mutter cogl.patch b/catalyst mutter cogl.patch
new file mode 100644
index 000000000000..82f8d98d8be6
--- /dev/null
+++ b/catalyst mutter cogl.patch
@@ -0,0 +1,19 @@
+--- mutter3221/cogl/cogl/driver/gl/gl/cogl-driver-gl.c 2016-10-17 20:43:31.283749432 +0200
++++ mutter3221b/cogl/cogl/driver/gl/gl/cogl-driver-gl.c 2016-10-17 20:47:44.000000000 +0200
+@@ -416,9 +416,13 @@
+ &ctx->glsl_minor);
+ }
+
+- 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. */
++ if (COGL_CHECK_GL_VERSION (ctx->glsl_major, ctx->glsl_minor, 1, 5))
++ ctx->glsl_version_to_use = 150;
++ else if (COGL_CHECK_GL_VERSION (ctx->glsl_major, ctx->glsl_minor, 1, 4))
++ ctx->glsl_version_to_use = 140;
++ else if (COGL_CHECK_GL_VERSION (ctx->glsl_major, ctx->glsl_minor, 1, 3))
++ ctx->glsl_version_to_use = 130;
++ else if (COGL_CHECK_GL_VERSION (ctx->glsl_major, ctx->glsl_minor, 1, 2))
+ ctx->glsl_version_to_use = 120;
+ else
+ ctx->glsl_version_to_use = 110;