mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 15:31:03 +01:00
Followup for #356 - fix incorrect check
This commit is contained in:
1 parent
12d4108ca8
commit
5a7b16076c
1 file changed
+1
-1
@@ -509,7 +509,7 @@ pub fn adapter_request_device<B: GfxBackend>(
|
||||
BIND_BUFFER_ALIGNMENT % limits.min_uniform_buffer_offset_alignment,
|
||||
"Adapter uniform buffer offset alignment not compatible with WGPU"
|
||||
);
|
||||
if desc.limits.max_bind_groups == 0 {
|
||||
if limits.max_bound_descriptor_sets == 0 {
|
||||
log::warn!("max_bind_groups limit is missing");
|
||||
} else {
|
||||
assert!(
|
||||
|
||||
Reference in new issue
Block a user