kitgit

tirbofish/dropbear · diff

ed895ce · Thribhu K

feature: kino-ui works

Unverified

diff --git a/crates/dropbear-engine/src/graphics.rs b/crates/dropbear-engine/src/graphics.rs
index 5c18635..e53d544 100644
--- a/crates/dropbear-engine/src/graphics.rs
+++ b/crates/dropbear-engine/src/graphics.rs
@@ -197,6 +197,7 @@ impl InstanceRaw {
 
 /// A wrapper to the [wgpu::CommandEncoder]
 pub struct CommandEncoder {
+    queue: Arc<Queue>,
     inner: wgpu::CommandEncoder,
 }
 
@@ -218,13 +219,14 @@ impl CommandEncoder {
     /// Creates a new instance of a command encoder. 
     pub fn new(graphics: Arc<SharedGraphicsContext>, label: Option<&str>) -> Self {
         Self {
+            queue: graphics.queue.clone(),
             inner: graphics.device.create_command_encoder(&wgpu::CommandEncoderDescriptor { label }),
         }
     }
-    
-    /// Submits the command encoder for execution. 
-    /// 
-    /// Panics if an unwinding error is caught, or just returns the error as normal. 
+
+    /// Submits the command encoder for execution.
+    ///
+    /// Panics if an unwinding error is caught, or just returns the error as normal.
     pub fn submit(self, graphics: Arc<SharedGraphicsContext>) -> anyhow::Result<()> {
         let command_buffer = self.inner.finish();
 
diff --git a/crates/eucalyptus-editor/Cargo.toml b/crates/eucalyptus-editor/Cargo.toml
index 6c2eafb..19105ae 100644
--- a/crates/eucalyptus-editor/Cargo.toml
+++ b/crates/eucalyptus-editor/Cargo.toml
@@ -11,6 +11,7 @@ readme = "README.md"
 eucalyptus-core = { path = "../eucalyptus-core", features = ["editor"] }
 magna-carta = { path = "../magna-carta" }
 redback-runtime = { path = "../redback-runtime", features = ["debug"]}
+kino-ui = { path = "../kino-ui" }
 
 anyhow.workspace = true
 app_dirs2.workspace = true
@@ -54,7 +55,6 @@ rfd.workspace = true
 semver.workspace = true
 serde.workspace = true
 
-
 [target.'cfg(unix)'.dependencies]
 daemonize = "0.5.0"

Large diffs are not rendered by default. Showing the first 50 of 1432 lines. Show full diff