Update bevy version
This commit is contained in:
+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