summaryrefslogtreecommitdiff
path: root/alligator_render
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-02-05 12:48:26 -0500
committerMicha White <botahamec@outlook.com>2023-02-05 12:48:26 -0500
commit13f26092d89fa3304a86e3005ccafa7272f2447c (patch)
tree9b18a6acba85ac9993a6635607fde40781fdc6b4 /alligator_render
parent7c3956da9005e204f8b140cd569022568de53824 (diff)
Increased the max texture size
Diffstat (limited to 'alligator_render')
-rw-r--r--alligator_render/src/renderer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/alligator_render/src/renderer.rs b/alligator_render/src/renderer.rs
index e6a3d22..a8d7364 100644
--- a/alligator_render/src/renderer.rs
+++ b/alligator_render/src/renderer.rs
@@ -180,6 +180,7 @@ impl Renderer {
features: wgpu::Features::empty(),
limits: wgpu::Limits {
max_buffer_size: adapter.limits().max_buffer_size,
+ max_texture_dimension_2d: adapter.limits().max_texture_dimension_2d,
..Default::default()
},
..Default::default()