From 0ddc1e39dc24cff636defbbbab974967bb5301b8 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:24 +0100 Subject: fix(queues): fix validation errors & docs --- stockton-skeleton/src/texture/loader.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'stockton-skeleton/src/texture/loader.rs') 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::() .ok_or(EnvironmentError::NoSuitableFamilies)?; - let queue_lock = context - .queue_negotiator_mut() - .get_queue::() - .ok_or(EnvironmentError::NoQueues)?; + let queue_lock = context.queue_negotiator_mut().get_queue::()?; // Memory pools let tex_mempool = context.memory_pool()?.clone(); -- cgit v1.2.3