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

solution for issue #2250 (exceptions from Image.setMultiSamples(1)) #2251

Merged
merged 3 commits into from
May 9, 2024

Conversation

stephengold
Copy link
Member

@stephengold stephengold commented May 4, 2024

This pull request adds automated tests for issue #2250.
It then solves the issue by skipping (if multiSamples==1) the checks that throw exceptions related to multisampling.

@stephengold stephengold added the defect Something that is supposed to work, but doesn't. Less severe than a "bug" label May 4, 2024
@stephengold stephengold linked an issue May 4, 2024 that may be closed by this pull request
@stephengold
Copy link
Member Author

Unless there's substantive discussion, I plan to integrate this PR in about 48 hours.

@scenemax3d scenemax3d added this to the v3.7.0 milestone May 9, 2024
@scenemax3d scenemax3d merged commit fa6083f into master May 9, 2024
11 checks passed
@stephengold stephengold deleted the sgold/issue/2250 branch May 9, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something that is supposed to work, but doesn't. Less severe than a "bug"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image#setMultiSample incorrectly throws exceptions
2 participants