From 992a8b2568ac1062ab924bfd3f8c9399c88e5cb2 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Thu, 28 Nov 2024 19:30:00 +0100 Subject: [PATCH] render: s/RGB8/Rgb/ --- src/render.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/render.rs b/src/render.rs index 3a75cd4..03674f6 100644 --- a/src/render.rs +++ b/src/render.rs @@ -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; } pub trait Surfaces: Debug {