Fix texture arrays not working

This commit is contained in:
Pierre Krieger 2017-05-04 17:14:45 +02:00
parent d291ab8e43
commit 21c6f1f371

View File

@ -254,7 +254,8 @@ impl DescriptorImageDesc {
match (my_max, other_max) {
(Some(m), Some(o)) => if m < o { return false; },
(Some(_), None) => (),
(None, _) => return false,
(None, Some(_)) => return false,
(None, None) => (), // TODO: is this correct?
};
},
_ => return false