shm: don't set pixman_fmt_without_alpha twice

When selecting 16-bit surfaces, we set pixman_fmt_without_alpha twice,
and never set pixman_fmt_with_alpha.

This caused 10-bit surfaces to be used instead, since it checks if
pixman_fmt_with_alpha has been overridden or not.
This commit is contained in:
Daniel Eklöf 2025-07-21 13:49:57 +02:00
parent 57ae3bb89c
commit 7ab43ebf74
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 5 additions and 1 deletions

View file

@ -82,6 +82,10 @@
### Deprecated
### Removed
### Fixed
* 10-bit surfaces sometimes used instead of 16-bit.
### Security
### Contributors