Skip to content

Fix NRE in WGL IsExtensionPresent #2470

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

Merged
merged 1 commit into from
Aug 6, 2025
Merged

Conversation

Morilli
Copy link
Contributor

@Morilli Morilli commented Aug 6, 2025

_extensions was always null, so this always threw an exception. That made the function effectively unusable.

In fact this even raises a compiler warning (CS0649) on build, if you happen to catch it in the flood of other warnings.

`_extensions` was always null, so this always threw an exception
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Silk.NET Development Tracker Aug 6, 2025
@Perksey Perksey merged commit ec351a6 into dotnet:main Aug 6, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Silk.NET Development Tracker Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants