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

graphics: attempt to fix build error on win32 #41

Merged
merged 1 commit into from
Apr 6, 2024
Merged

Conversation

Hedede
Copy link
Member

@Hedede Hedede commented Apr 6, 2024

gl_api.c++(719): error C2672: 'aw::gl::get_proc': no matching overloaded function found

I suspect this error is due to __stdcall changing the pointer type. To fix this, I changed get_proc to accept any function pointer. The downside is that it now requires C++20.

gl_api.c++(719): error C2672: 'aw::gl::get_proc': no matching overloaded function found

I suspect this error is due to __stdcall changing the pointer type. To
fix this, I changed get_proc to accept any function pointer.
@Hedede Hedede merged commit 6a0d664 into master Apr 6, 2024
3 checks passed
@Hedede Hedede deleted the fix-graphics branch April 6, 2024 11:05
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

Successfully merging this pull request may close these issues.

1 participant