Skip to content

Commit

Permalink
[OpenGL] Add buggy Windows driver to blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Jul 8, 2024
1 parent f38974a commit 8ac68b5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/ivis_opengl/gfx_api_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3662,6 +3662,19 @@ bool gl_context::isBlocklistedGraphicsDriver() const
// Does not work with WZ. (No indications that there is a driver version that does not crash.)
return true;
}

// Renderer: softpipe
// (From the OpenGLOn12 / "OpenGL Compatibility Pack")
if (openGL_renderer == "softpipe")
{
WzString openGL_vendor = (const char*)wzSafeGlGetString(GL_VENDOR);
if (openGL_vendor == "Mesa")
{
// Does not work performantly, can cause crashes (as of "Mesa 24.2.0-devel (git-57f4f8520a)")
// Since libANGLE is very likely to work better, reject this (for now)
return true;
}
}
#endif

return false;
Expand Down

0 comments on commit 8ac68b5

Please sign in to comment.