mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
b1b34cd665
Pre-multipled sRGB values need to be un-multiplied before conversion to linear and then re-multiplied after. Compare shaders/texture.frag. This fixes an issue in labwc where titlebar corners (rendered as ARGB textures) did not match the rest of the titlebar (rendered as a solid wlr_scene_rect). Note: 0.17 has other instances in render/vulkan/renderer.c that need the same fix. |
||
---|---|---|
.. | ||
shaders | ||
meson.build | ||
pass.c | ||
pixel_format.c | ||
renderer.c | ||
texture.c | ||
util.c | ||
vulkan.c |