3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-08 08:05:53 +00:00
Files
Hyprland/src/render
Tom Englund e43f949f8a shm: ensure we use right gl unpack alignment (#12975)
gl defaults to 4 and not all formats is divisible with 4 meaning its
going to pad out ouf bounds and cause issues. check if the stride is
divisible with 4 otherwise set it to 1, aka disable it.

GL_UNPACK_ALIGNMENT only takes 1,2,4,8 but formats like RGB888 has
bytesPerBlock 3.
2026-01-13 16:42:31 +01:00
..