Improve Antialiasing::sample_count
signature
This commit is contained in:
parent
79fed3d695
commit
9e139e6ca7
@ -45,7 +45,7 @@ pub enum Antialiasing {
|
||||
}
|
||||
|
||||
impl Antialiasing {
|
||||
pub(crate) fn sample_count(&self) -> u32 {
|
||||
pub(crate) fn sample_count(self) -> u32 {
|
||||
match self {
|
||||
Antialiasing::MSAAx2 => 2,
|
||||
Antialiasing::MSAAx4 => 4,
|
||||
|
Loading…
Reference in New Issue
Block a user