diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
commit | 0ddc1e39dc24cff636defbbbab974967bb5301b8 (patch) | |
tree | 7745054a2bc4030819eed3d39e0df45c94cc8b40 /stockton-skeleton/src/texture/loader.rs | |
parent | b86e97f67a07368877bd18501aebcbe80cf93118 (diff) |
fix(queues): fix validation errors & docs
Diffstat (limited to 'stockton-skeleton/src/texture/loader.rs')
-rw-r--r-- | stockton-skeleton/src/texture/loader.rs | 5 |
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(); |