diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:19 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:19 +0100 |
commit | 4ade456569da7ffa407e48abd9a8df2b759b739a (patch) | |
tree | b227d72c4fe62a791355c6c142dfd54d0441676f /stockton-render/src/error.rs | |
parent | 34ca085717195302c8048c46f64ff771476ee4a2 (diff) |
fix(render): clamp swapchain size to window size
Diffstat (limited to 'stockton-render/src/error.rs')
-rw-r--r-- | stockton-render/src/error.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stockton-render/src/error.rs b/stockton-render/src/error.rs index d46328d..41fc92d 100644 --- a/stockton-render/src/error.rs +++ b/stockton-render/src/error.rs @@ -37,6 +37,7 @@ pub enum CreationError { NoCompositeAlphas, NoImageFormats, NoColor, + NoWindow, /// # Runtime SwapchainFailed (hal::window::CreationError), |