cogl/gl: Bump required GLSL version to 140
This will be needed by future color management and HDR shaders. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3433>
This commit is contained in:

committed by
Sebastian Wick

parent
b538f4b999
commit
1fa5a016be
@ -465,7 +465,7 @@ _cogl_driver_update_features (CoglContext *ctx,
|
|||||||
|
|
||||||
ctx->glsl_major = 1;
|
ctx->glsl_major = 1;
|
||||||
ctx->glsl_minor = 2;
|
ctx->glsl_minor = 2;
|
||||||
ctx->glsl_version_to_use = 120;
|
ctx->glsl_version_to_use = 140;
|
||||||
|
|
||||||
glsl_version = (char *)ctx->glGetString (GL_SHADING_LANGUAGE_VERSION);
|
glsl_version = (char *)ctx->glGetString (GL_SHADING_LANGUAGE_VERSION);
|
||||||
_cogl_gl_util_parse_gl_version (glsl_version,
|
_cogl_gl_util_parse_gl_version (glsl_version,
|
||||||
|
Reference in New Issue
Block a user