fix square filter, arrow keys on windows

This commit is contained in:
2022-07-12 20:18:06 +02:00
parent e9a5f702b4
commit 539d19e0d7
2 changed files with 8 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ fn aa_tex_coord(c: f32) -> f32 {
let center = base + 0.5;
let next = base + 1.0;
if high > next {
return center + (high - next) / (high - base);
return center + (high - next) / (high - low);
} else {
return center;
}