graphics: more figments updates

This commit is contained in:
2026-02-28 16:58:11 +01:00
parent 22d1b4d077
commit e8a7a18539
6 changed files with 16 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ pub struct SafetyUi<S: Surface> {
}
impl<S: Debug + Surface<Uniforms = Uniforms, CoordinateSpace = SegmentSpace, Pixel = Rgba<u8>>> SafetyUi<S> {
pub fn new<SS: Surfaces<SegmentSpace, Surface = S>>(surfaces: &mut SS, display: DisplayControls) -> Self where SS::Error: Debug {
pub fn new<SS: Surfaces<Surface = S>>(surfaces: &mut SS, display: DisplayControls) -> Self where SS::Error: Debug {
let ret = Self {
overlay: SurfaceBuilder::build(surfaces)
.rect(Rectangle::everything())