https://bugs.winehq.org/show_bug.cgi?id=42538
Bug ID: 42538 Summary: wined3d checks for a wrong GL_VENDOR in wined3d_guess_gl_vendor Product: Wine Version: 2.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: kamil.hornicek@reactos.org Distribution: ---
The check >if (strstr(gl_vendor_string, "Mesa")< in wined3d/directx.c:1729 is wrong. Mesa presents itself with GL_VENDOR = "Brian Paul" and GL_RENDERER = "Mesa" as can be seen here: https://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/main/getstring.c#n115
Even though the code works because it later checks for GL_RENDERER == "Mesa" it still should be fixed. This was also previously fixed in wined3d_guess_card_vendor.