aboutsummaryrefslogtreecommitdiff
path: root/stockton-skeleton/src/texture/loader.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:24 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:24 +0100
commit0ddc1e39dc24cff636defbbbab974967bb5301b8 (patch)
tree7745054a2bc4030819eed3d39e0df45c94cc8b40 /stockton-skeleton/src/texture/loader.rs
parentb86e97f67a07368877bd18501aebcbe80cf93118 (diff)
fix(queues): fix validation errors & docs
Diffstat (limited to 'stockton-skeleton/src/texture/loader.rs')
-rw-r--r--stockton-skeleton/src/texture/loader.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/stockton-skeleton/src/texture/loader.rs b/stockton-skeleton/src/texture/loader.rs
index 7f630ab..ea42c29 100644
--- a/stockton-skeleton/src/texture/loader.rs
+++ b/stockton-skeleton/src/texture/loader.rs
@@ -216,10 +216,7 @@ where
.queue_negotiator_mut()
.family::<Q>()
.ok_or(EnvironmentError::NoSuitableFamilies)?;
- let queue_lock = context
- .queue_negotiator_mut()
- .get_queue::<Q>()
- .ok_or(EnvironmentError::NoQueues)?;
+ let queue_lock = context.queue_negotiator_mut().get_queue::<Q>()?;
// Memory pools
let tex_mempool = context.memory_pool()?.clone();