remove empty buffer warning because its too noisey

This commit is contained in:
Carter Anderson 2020-03-11 18:19:02 -07:00
parent ad654a3c25
commit 0c3e83452d

View file

@ -63,10 +63,10 @@ impl WgpuResources {
None => {
match binding.bind_type {
BindType::Uniform { .. } => {
println!(
"Warning: creating new empty buffer for uniform binding {} {:?}",
binding.name, binding
);
// println!(
// "Warning: creating new empty buffer for uniform binding {} {:?}",
// binding.name, binding
// );
unset_uniforms.push(binding.name.to_string());
let size = binding.bind_type.get_uniform_size().unwrap();
let resource = self.create_buffer(