fix(wayland): dmabuf formats

This commit is contained in:
Nova
2022-12-10 00:30:53 -05:00
parent 4286bc119a
commit 004454d75e
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ stardust-xr = "0.8.0"
directories = "4.0.1" directories = "4.0.1"
serde = { version = "1.0.145", features = ["derive"] } serde = { version = "1.0.145", features = ["derive"] }
tracing = "0.1.37" tracing = "0.1.37"
tracing-subscriber = "0.3.16" tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
tracing-slog = "0.2.0" tracing-slog = "0.2.0"
[dependencies.stereokit] [dependencies.stereokit]
@@ -47,7 +47,7 @@ features = ["linux-egl"]
version = "0.9.0" version = "0.9.0"
[dependencies.smithay] [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 default-features = false
features = ["desktop", "renderer_gl", "wayland_frontend"] features = ["desktop", "renderer_gl", "wayland_frontend"]
version = "*" version = "*"

View File

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