1
0
Fork 0

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:
Jonas Ådahl 2023-11-09 12:45:24 +08:00 committed by Sebastian Wick
parent b538f4b999
commit 1fa5a016be

View file

@ -465,7 +465,7 @@ _cogl_driver_update_features (CoglContext *ctx,
ctx->glsl_major = 1;
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);
_cogl_gl_util_parse_gl_version (glsl_version,