From 8cc86d88fcf4528f62dde10906153dac6b52d36a Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 20 Oct 2023 17:54:01 -0700 Subject: [PATCH] note about adapter --- src/graphics_context.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graphics_context.rs b/src/graphics_context.rs index f8911cf..d37f0bc 100644 --- a/src/graphics_context.rs +++ b/src/graphics_context.rs @@ -239,6 +239,7 @@ impl GraphicsContextSetup{ // Once winit is fixed, the detection conditions here can be removed. // https://github.com/rust-windowing/winit/issues/2876 // this has been fixed if I update winit (remove the if statement and only use the else case) + //drop adapter when you delete this let max_dimension=graphics_context.adapter.limits().max_texture_dimension_2d; if max_dimension