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
+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(),
)
}