[gl] Remove WebGL hardcoded min_storage_buffer_offset_alignment value.
@@ -356,11 +356,8 @@ pub(crate) fn query_all(
} else {
get_usize(gl, glow::MAX_TEXTURE_BUFFER_SIZE).unwrap_or(0)
};
- let min_storage_buffer_offset_alignment = if IS_WEBGL {
- 1024
- } else {
- get_u64(gl, glow::SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT).unwrap_or(256)
- };
+ let min_storage_buffer_offset_alignment =
+ get_u64(gl, glow::SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT).unwrap_or(256);
let mut limits = Limits {
max_image_1d_size: max_texture_size,
