Use one standard Iris resource bundle
This commit is contained in:
1 parent
6dbc800739
commit
7e5a4c0071
16 files changed
+129
-100
No files matched your search
@@ -1,6 +1,9 @@
|
||||
#![recursion_limit = "256"]
|
||||
|
||||
use iris::{harness::Harness, prelude::*};
|
||||
use iris::{
|
||||
harness::{Harness, HarnessState},
|
||||
prelude::*,
|
||||
};
|
||||
use pollster::FutureExt;
|
||||
use std::sync::OnceLock;
|
||||
use wgpu::TextureFormat;
|
||||
@@ -25,7 +28,7 @@ fn solid_paints_and_images_round_trip_through_an_srgb_target() {
|
||||
1,
|
||||
image::Rgba([IMAGE.r, IMAGE.g, IMAGE.b, IMAGE.a]),
|
||||
));
|
||||
let bitmap = image::<iris::harness::HarnessRsc>(bitmap)(&mut harness.rsc);
|
||||
let bitmap = image::<StdRsc<HarnessState>>(bitmap)(&mut harness.rsc);
|
||||
let root = (rect(solid.clone()).sized((1, 1)), bitmap)
|
||||
.span(Dir::RIGHT)
|
||||
.add_strong(&mut harness.rsc)
|
||||
|
||||
Reference in new issue
Block a user