diff options
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(); |