fix(wayland): update bevy-dmabuf and tell it to use srgb formats

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-07-17 17:13:20 +02:00
parent 66a3ae22cc
commit 4426d14bc5
3 changed files with 5 additions and 3 deletions

View File

@@ -60,6 +60,7 @@ impl DmabufBacking {
format: format as u32,
// TODO: impl this in bevy-dmabuf
flip_y: flags.contains(Flags::YInvert),
srgb: true,
};
let dev = RENDER_DEVICE.wait();
let imported_tex = import_texture(dev, dmatex, DropCallback(None))?;