Skip to content

fix EGL error and possible incorrect sample count in eglSwapBuffers_renderdoc_hooked #3624

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
Jun 9, 2025

Conversation

n-morales
Copy link
Contributor

Description

Fixes #3623

This patch makes sure data.egl_cfg is set before calling eglSwapBuffers_renderdoc_hooked, making sure that EGL.GetConfigAttrib does not produce an error. Incidentally, as this likely didn't work before, this will probably get the correct sample count of the config via EGL.GetConfigAttrib.

@n-morales n-morales force-pushed the 3623-fix-swapbuffers-sample-update branch from 49acfe2 to 1056485 Compare June 7, 2025 22:15
@baldurk
Copy link
Owner

baldurk commented Jun 9, 2025

For future reference there is no reason to make an issue and then immediately making a pull request fixing that issue - you can just open the pull request and include any information here as it then generates less noise on the repository for anyone watching.

This change looks fine to me but I'd like to get @cmannett85-arm to double check it as EGL is primarily/mostly for android so making sure that this doesn't look like it'd cause issues there.

@cmannett85
Copy link

We haven't had any reports on this before, but the change certainly looks correct.

@baldurk baldurk merged commit 9323872 into baldurk:v1.x Jun 9, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EGL: EGL_BAD_CONFIG in eglSwapBuffers_renderdoc_hooked
3 participants