Skip to content

Commit

Permalink
don't hook new mesa3d libs
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed May 16, 2024
1 parent 0d1c635 commit d2d0be1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,8 @@ void hook_create(HOOKLIST* hooks, BOOL initial_hook)

/* Don't hook reshade/swiftshader/mesa3d */
if (_strcmpi(mod_filename, "opengl32") == 0 ||
_strcmpi(mod_filename, "libgallium_wgl") == 0 ||
_strcmpi(mod_filename, "libglapi") == 0 ||
_strcmpi(mod_filename, "d3d9") == 0 ||
_strcmpi(mod_filename, "Shw32") == 0)
continue;
Expand Down

0 comments on commit d2d0be1

Please sign in to comment.