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

Add better attribute handling for sRGB in WGL #1179

Merged
merged 2 commits into from
Jul 4, 2019

Conversation

sumit0190
Copy link
Contributor

Based on a discussion in #1175 , this PR changes choose_pixel_format_id to ensure that the right extension for SRGB is always added to the descriptor, and its value is set according to the with_srgb parameter supplied by the user.

Tested on Windows 10 x64; no warnings/errors reported.

Copy link
Contributor

@goddessfreya goddessfreya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants