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

GL/ContextEGL: Fix red_size to blue_size #3238

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

Kpada
Copy link
Contributor

@Kpada Kpada commented Jun 30, 2024

Address an issue in the OpenGLContextEGL::GetSurfaceTextureFormat() function where the blue_size variable was incorrectly referenced as red_size in the condition checking.

@stenzek
Copy link
Owner

stenzek commented Jun 30, 2024

I'd be surprised if this actually ever caused any issues, since (AFAIK) all 8bpc formats have at least 8 bits across all channels, but it's still incorrect regardless :)

@stenzek stenzek merged commit 0375199 into stenzek:master Jun 30, 2024
5 checks passed
@Kpada
Copy link
Contributor Author

Kpada commented Jul 6, 2024

Indeed, I meant a possible issue :)

@Kpada Kpada deleted the fix/opengl-context-egl-typo branch July 7, 2024 04:18
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.

2 participants