moved app_mode to its own file
This commit is contained in:
@@ -908,7 +908,7 @@ impl Gfx {
|
||||
let col_start = (-x).clamp(0, glyph_w) as usize;
|
||||
let col_end = (screen_w - x).clamp(0, glyph_w) as usize;
|
||||
|
||||
for row_idx in row_start..row_end {
|
||||
for (row_idx, _) in glyph.iter().enumerate().take(row_end).skip(row_start) {
|
||||
let row = glyph[row_idx];
|
||||
let py = (y + row_idx as i32) as usize;
|
||||
let base = py * self.w;
|
||||
|
||||
Reference in New Issue
Block a user