summaryrefslogtreecommitdiffstats
path: root/graphics/src/window.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-08-05 14:44:32 +0700
committerLibravatar GitHub <noreply@github.com>2021-08-05 14:44:32 +0700
commit45778ed598c0d202f8e86c47a444fd671fb3abce (patch)
treef0d7cd40b34bf4dca465fb6fd8fdeec5b0209e72 /graphics/src/window.rs
parent63bdbf817e0ecd8ce9162f2b8cc5eaefb5b42e68 (diff)
parent3e03a42bc69562639784a1b560978bf184576824 (diff)
downloadiced-45778ed598c0d202f8e86c47a444fd671fb3abce.tar.gz
iced-45778ed598c0d202f8e86c47a444fd671fb3abce.tar.bz2
iced-45778ed598c0d202f8e86c47a444fd671fb3abce.zip
Merge pull request #667 from BillyDM/wgpu_outdatedframe
Don't panic when wgpu swapchain frame is outdated
Diffstat (limited to 'graphics/src/window.rs')
-rw-r--r--graphics/src/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/window.rs b/graphics/src/window.rs
index 3e74db5f..365ddfbc 100644
--- a/graphics/src/window.rs
+++ b/graphics/src/window.rs
@@ -4,7 +4,7 @@ mod compositor;
#[cfg(feature = "opengl")]
mod gl_compositor;
-pub use compositor::Compositor;
+pub use compositor::{Compositor, SwapChainError};
#[cfg(feature = "opengl")]
pub use gl_compositor::GLCompositor;