Update bevy version

This commit is contained in:
2026-06-28 22:57:16 +03:00
parent bc13e2cd40
commit bfbc22ca89
4 changed files with 986 additions and 890 deletions
Generated
+979 -884
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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(),
)
}