Commit cfe177f5 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Fix GLSL version comparison.

parent 08c34e3f
...@@ -5340,7 +5340,7 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl, ...@@ -5340,7 +5340,7 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl,
return FALSE; 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", 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)); (const char *)gl_info->gl_ops.gl.p_glGetString(GL_SHADING_LANGUAGE_VERSION_ARB));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment