Fix compiler warnings

This commit is contained in:
2026-03-17 10:56:03 +01:00
parent 333119bfed
commit 6b0d4e5015
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ mod screenshot;
mod settings;
mod state;
use std::io::Cursor;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::Arc;

View File

@@ -403,7 +403,7 @@ mod ffi {
let mut pixels: Vec<Pixel> = Vec::with_capacity((width * height) as usize);
for row_i in (0..height as usize).rev() {
for byte_i in (0..width as usize) {
for byte_i in 0..width as usize {
let idx = row_i * row_len + byte_i * pixel_width;
pixels.push(Pixel {
b: data[idx],