Skip to content

Fix MSAA crash in many cases.#144

Merged
NogginBops merged 2 commits intoopentk:masterfrom
NogginBops:fix-msaa-crash
Oct 31, 2024
Merged

Fix MSAA crash in many cases.#144
NogginBops merged 2 commits intoopentk:masterfrom
NogginBops:fix-msaa-crash

Conversation

@NogginBops
Copy link
Member

@NogginBops NogginBops commented Oct 31, 2024

This PR adds a quick and dirty check for trying to create an MSAA framebuffer and if that fails we don't try to create MSAA framebuffers even if the user requests MSAA. This fixes MSAA crashes on many computers.

Partially fixes #140, #138, and #134
It probably doesn't fix the integrated graphics issue.

@NogginBops NogginBops added bug Something isn't working 4.0 labels Oct 31, 2024
@NogginBops NogginBops added this to the 4.3.3 milestone Oct 31, 2024
@NogginBops NogginBops merged commit 76843f8 into opentk:master Oct 31, 2024
@NogginBops NogginBops deleted the fix-msaa-crash branch October 31, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.ArgumentException: Value does not fall within the expected range on NVIDIA RTX A2000

1 participant