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

video_core: Fixed emulation window artefacts on OpenGL + Wayland #754

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

OpenSauce04
Copy link
Member

@OpenSauce04 OpenSauce04 commented Mar 21, 2025

This pull request fixes an issue where anything that passed over the portion of the emulation window not occupied by the 3DS screens would leave visual artefacts behind:

This PR fixes this by changing the opacity of two glClearColor calls from 0.0 to 1.0.

On most platforms this value is seemingly ignored and it is displayed as if it was set to 1.0, but on Wayland it respects the value and causes this issue. I'm not sure why they were originally set to that value, there seems to be no benefit to doing so, especially considering that the background colours are set up in the same call, which would be invisible if this was working correctly.

@OpenSauce04 OpenSauce04 added the bug Something isn't working label Mar 21, 2025
@OpenSauce04 OpenSauce04 requested a review from PabloMK7 March 21, 2025 10:34
@OpenSauce04 OpenSauce04 force-pushed the wayland-opengl-fix branch 2 times, most recently from 42cbabe to 427e51a Compare March 21, 2025 15:57
@PabloMK7 PabloMK7 force-pushed the wayland-opengl-fix branch from 427e51a to aae110f Compare March 21, 2025 16:46
@OpenSauce04 OpenSauce04 merged commit 70be7d9 into azahar-emu:master Mar 21, 2025
12 checks passed
@OpenSauce04 OpenSauce04 deleted the wayland-opengl-fix branch March 21, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants