Update bevy version
This commit is contained in:
Generated
+979
-884
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -4,7 +4,7 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
bevy = { version = "0.18.1", features = ["keyboard"] }
|
||||
bevy = { version = "0.19.0", features = ["keyboard"] }
|
||||
rand = "0.10.1"
|
||||
rand_chacha = "0.10.0"
|
||||
rayon = "1.12.0"
|
||||
+2
-2
@@ -134,7 +134,7 @@ impl IntoImage for HexTable<bool> {
|
||||
},
|
||||
TextureDimension::D2,
|
||||
&[0, 0, 0, 0],
|
||||
TextureFormat::bevy_default(),
|
||||
TextureFormat::Rgba8UnormSrgb,
|
||||
RenderAssetUsages::default(),
|
||||
);
|
||||
|
||||
@@ -166,7 +166,7 @@ impl IntoImage for HexTable<u8> {
|
||||
},
|
||||
TextureDimension::D2,
|
||||
&[0, 0, 0, 0],
|
||||
TextureFormat::bevy_default(),
|
||||
TextureFormat::Rgba8UnormSrgb,
|
||||
RenderAssetUsages::default(),
|
||||
);
|
||||
|
||||
|
||||
+4
-3
@@ -1,5 +1,6 @@
|
||||
use std::ops::{Index, IndexMut};
|
||||
use bevy::asset::RenderAssetUsages;
|
||||
use bevy::image::BevyDefault;
|
||||
use bevy::prelude::*;
|
||||
use bevy::render::render_resource::{Extent3d, TextureDimension, TextureFormat};
|
||||
|
||||
@@ -123,7 +124,7 @@ impl IntoImage for Table<bool> {
|
||||
},
|
||||
TextureDimension::D2,
|
||||
data,
|
||||
TextureFormat::bevy_default(),
|
||||
TextureFormat::Rgba8UnormSrgb,
|
||||
RenderAssetUsages::default(),
|
||||
)
|
||||
}
|
||||
@@ -150,7 +151,7 @@ impl IntoImage for Table<Color> {
|
||||
},
|
||||
TextureDimension::D2,
|
||||
data,
|
||||
TextureFormat::bevy_default(),
|
||||
TextureFormat::Rgba8UnormSrgb,
|
||||
RenderAssetUsages::default(),
|
||||
)
|
||||
}
|
||||
@@ -179,7 +180,7 @@ impl IntoImage for Table<u8> {
|
||||
},
|
||||
TextureDimension::D2,
|
||||
data,
|
||||
TextureFormat::bevy_default(),
|
||||
TextureFormat::Rgba8UnormSrgb,
|
||||
RenderAssetUsages::default(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user