ci
This commit is contained in:
parent
484d5c848d
commit
5b6ac36b50
@ -1619,7 +1619,7 @@ mod tests {
|
|||||||
.register_asset_loader(CoolTextLoader);
|
.register_asset_loader(CoolTextLoader);
|
||||||
let asset_server = app.world().resource::<AssetServer>().clone();
|
let asset_server = app.world().resource::<AssetServer>().clone();
|
||||||
let handle: Handle<LoadedBatch> =
|
let handle: Handle<LoadedBatch> =
|
||||||
asset_server.load_batch(LoadBatchRequest::new(vec!["text/*","b.cool.ron"]));
|
asset_server.load_batch(LoadBatchRequest::new(vec!["text/*", "b.cool.ron"]));
|
||||||
gate_opener.open(a_path);
|
gate_opener.open(a_path);
|
||||||
gate_opener.open(b_path);
|
gate_opener.open(b_path);
|
||||||
gate_opener.open(c_path);
|
gate_opener.open(c_path);
|
||||||
|
@ -7,8 +7,11 @@
|
|||||||
//! Only one padded and one unpadded texture atlas are rendered to the screen.
|
//! Only one padded and one unpadded texture atlas are rendered to the screen.
|
||||||
//! An upscaled sprite from each of the four atlases are rendered to the screen.
|
//! An upscaled sprite from each of the four atlases are rendered to the screen.
|
||||||
|
|
||||||
use bevy::{image::ImageSampler, prelude::*};
|
use bevy::{
|
||||||
use bevy_asset::{LoadBatchRequest, LoadedBatch};
|
asset::{LoadBatchRequest, LoadedBatch},
|
||||||
|
image::ImageSampler,
|
||||||
|
prelude::*,
|
||||||
|
};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
App::new()
|
App::new()
|
||||||
|
Loading…
Reference in New Issue
Block a user