Zebediah Figura : wined3d: Fix GLSL version comparison.
Module: wine Branch: master Commit: cfe177f5cfa96f77bf060f3d4dadf5d7ffabbd72 URL: https://gitlab.winehq.org/wine/wine/-/commit/cfe177f5cfa96f77bf060f3d4dadf5d... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Mon Apr 29 12:54:01 2024 -0500 wined3d: Fix GLSL version comparison. Fixes: 010008f629dd0590978095942ded8851ee3a9e17 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56615 --- dlls/wined3d/adapter_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/adapter_gl.c b/dlls/wined3d/adapter_gl.c index b34b5f9374a..af1a833e410 100644 --- a/dlls/wined3d/adapter_gl.c +++ b/dlls/wined3d/adapter_gl.c @@ -5340,7 +5340,7 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl, return FALSE; } - if (gl_info->glsl_version <= MAKEDWORD_VERSION(1, 20)) + if (gl_info->glsl_version < MAKEDWORD_VERSION(1, 20)) { ERR("GLSL version %s is too low; 1.20 is required.\n", (const char *)gl_info->gl_ops.gl.p_glGetString(GL_SHADING_LANGUAGE_VERSION_ARB));
participants (1)
-
Alexandre Julliard