render: s/RGB8/Rgb<u8>/

This commit is contained in:
Victoria Fischer 2024-11-28 19:30:00 +01:00
parent 04f5575ba6
commit 992a8b2568

View File

@ -1,5 +1,5 @@
use std::io;
use rgb::RGB8;
use rgb::Rgb;
use crate::geometry::*;
use crate::task::Task;
@ -9,7 +9,7 @@ use std::marker::PhantomData;
use std::fmt::Debug;
pub trait Shader: Send + Debug {
fn draw(&self, surface_coords: &VirtualCoordinates, frame: usize) -> RGB8;
fn draw(&self, surface_coords: &VirtualCoordinates, frame: usize) -> Rgb<u8>;
}
pub trait Surfaces<T: Surface>: Debug {