Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook GetVersionEx() at the process level? #13

Open
cher-nov opened this issue Jan 5, 2025 · 0 comments
Open

Hook GetVersionEx() at the process level? #13

cher-nov opened this issue Jan 5, 2025 · 0 comments

Comments

@cher-nov
Copy link

cher-nov commented Jan 5, 2025

Just curious. I've looked into all the currently available solutions of this problem, listed here:
https://github.com/pal1000/save-legacy-intel-graphics/blob/dd65ea4c/readme.md#ways-to-fix-this-problem
But I didn't see such an option: to hook the GetVersionEx() function (using a Detours-like solution) just before creating the OpenGL context at the first time (which detects and loads the ICD), and then immediately remove it.

Would this fix the problem? What pitfalls are there that I don't notice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant