Skip to content

Conversation

@marchcat
Copy link
Contributor

The crash wasn't 100% reproducible, but I managed to catch it.

The problem is that GL_BLEND_SRC and GL_BLEND_DST are not valid parameters for glGetIntegerv() in modern OpenGL. So far, the only version where I see them referenced is 1.1.

So, in order to check the values, we need to query the RGB and alpha factors separately. Using the old enums can cause the driver to return junk data, leading to the observed crash.

@marchcat marchcat merged commit f40c5b2 into release/2025.03 Feb 27, 2025
11 checks passed
@marchcat marchcat deleted the marchcat/3597 branch February 27, 2025 15:07
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ExtraFPS crashes when RenderDebugGLSession is True

5 participants