BC1!!!
This commit is contained in:
@@ -166,9 +166,7 @@ impl TestGame {
|
||||
assert!(is_dxt1);
|
||||
println!("Texture width: {}, height: {}, bytes: {}", tex_width, tex_height, tex_byte_count);
|
||||
|
||||
let data_start: usize = 124;
|
||||
let data_end: usize = data_start + tex_byte_count as usize;
|
||||
renderer.upload_texture(&tex_bytes[data_start..data_end], tex_width, tex_height, vulkano::format::Format::BC1_RGBASrgbBlock, renderer.device.clone());
|
||||
renderer.upload_texture(&tex_bytes, tex_width, tex_height, vulkano::format::Format::BC1_RGBUnormBlock, renderer.device.clone());
|
||||
self.texture_index_counter += 1;
|
||||
|
||||
if self.log_config.mesh_load_info {
|
||||
|
||||
Reference in New Issue
Block a user