mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00

Fixes #932 We have to do this for Metal as well (this code is copied from Metal) since Metal doesnt even allow RGB textures. I couldn't figure out a way to get the A value to be "255" (byte), it seems to always be set to 1 which gets normalized to 1/255, so lets just manually convert.