aboutsummaryrefslogtreecommitdiff
path: root/render/vulkan/texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/vulkan/texture.c')
-rw-r--r--render/vulkan/texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/vulkan/texture.c b/render/vulkan/texture.c
index 20aa12f1..036d5f73 100644
--- a/render/vulkan/texture.c
+++ b/render/vulkan/texture.c
@@ -374,7 +374,8 @@ struct wlr_vk_texture_view *vulkan_texture_get_or_create_view(struct wlr_vk_text
static void texture_set_format(struct wlr_vk_texture *texture,
const struct wlr_vk_format *format) {
texture->format = format;
- texture->transform = !format->is_ycbcr && format->is_srgb ?
+ texture->transform = !format->is_ycbcr &&
+ (format->vk_srgb && false /* temporary */) ?
WLR_VK_TEXTURE_TRANSFORM_IDENTITY : WLR_VK_TEXTURE_TRANSFORM_SRGB;
const struct wlr_pixel_format_info *format_info =