fix(wayland): dmabuf formats

This commit is contained in:
Nova
2022-12-10 00:30:53 -05:00
parent 303b3f3ca2
commit 7a4d557c61
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ stardust-xr = "0.8.0"
directories = "4.0.1"
serde = { version = "1.0.145", features = ["derive"] }
tracing = "0.1.37"
tracing-subscriber = "0.3.16"
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
tracing-slog = "0.2.0"
[dependencies.stereokit]
@@ -47,7 +47,7 @@ features = ["linux-egl"]
version = "0.9.0"
[dependencies.smithay]
git = "https://github.com/Smithay/smithay.git"
git = "https://github.com/technobaboo/smithay.git" # Until we get stereokit to understand OES samplers and external textures
default-features = false
features = ["desktop", "renderer_gl", "wayland_frontend"]
version = "*"

View File

@@ -78,7 +78,7 @@ impl CoreSurfaceData {
sk_tex.set_native(
smithay_tex.tex_id() as usize,
smithay::backend::renderer::gles2::ffi::RGBA8.into(),
TextureType::Image,
TextureType::ImageNoMips,
smithay_tex.width(),
smithay_tex.height(),
false,