https://bugs.winehq.org/show_bug.cgi?id=56615
Bug ID: 56615 Summary: Spelunky: wined3d: Require GLSL 1.20 support Product: Wine Version: 9.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: carmantic24@outlook.com Regression SHA1: 010008f629dd0590978095942ded8851ee3a9e17 Distribution: ArchLinux
Spelunky won't start with "Error creating Direct3D9 object". 0128:err:d3d:wined3d_adapter_gl_init GLSL version 1.20 is too low; 1.20 is required.
Changing the "<=" to "<" fixed it for me. Tried to CC Zebediah Figura, but Bugzilla wouldn't accept their email.
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)); wined3d_caps_gl_ctx_destroy(&caps_gl_ctx); return FALSE; }