From 7c3956da9005e204f8b140cd569022568de53824 Mon Sep 17 00:00:00 2001 From: Micha White Date: Sun, 5 Feb 2023 12:44:37 -0500 Subject: Allow for buffers larger than 256 MB --- alligator_render/src/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'alligator_render/src/config.rs') diff --git a/alligator_render/src/config.rs b/alligator_render/src/config.rs index 952e885..e342657 100644 --- a/alligator_render/src/config.rs +++ b/alligator_render/src/config.rs @@ -67,7 +67,9 @@ pub struct RenderWindowConfig<'a> { pub vsync: bool, /// The initial capacity of the instance buffer. The size will increase if /// it's not large enough. Increasing this value may improve performance - /// towards the beginning, if a lot of instances are being created. + /// towards the beginning, if a lot of instances are being created. For + /// compatibility with older devices, it's recommended to keep this number + /// below 150 thousand. pub instance_capacity: usize, } -- cgit v1.2.3