diff --git a/ash/src/device.rs b/ash/src/device.rs index fce4c15..84ef40b 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -1451,10 +1451,6 @@ pub trait DeviceV1_0 { flags: vk::QueryResultFlags, ) -> VkResult<()> { let data_length = query_count as usize; - assert!( - mem::size_of::() <= mem::size_of::(), - "T can not be bigger than an u64" - ); assert!( data_length <= data.len(), "query_count was higher than the length of the slice"