warnings
This commit is contained in:
parent
0f96689079
commit
003d507573
|
@ -441,6 +441,7 @@ impl PhysicalDeviceProperties {
|
||||||
pub struct PhysicalDevice {
|
pub struct PhysicalDevice {
|
||||||
pdev: vk::PhysicalDevice,
|
pdev: vk::PhysicalDevice,
|
||||||
queue_families: DeviceQueueFamilies,
|
queue_families: DeviceQueueFamilies,
|
||||||
|
#[allow(dead_code)]
|
||||||
properties: PhysicalDeviceProperties,
|
properties: PhysicalDeviceProperties,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -729,7 +730,7 @@ impl Swapchain {
|
||||||
format,
|
format,
|
||||||
)
|
)
|
||||||
.inspect(|img| {
|
.inspect(|img| {
|
||||||
img.get_view(images::ImageViewDesc {
|
_ = img.get_view(images::ImageViewDesc {
|
||||||
name: Some(format!("swapchain-{swapchain:?}-image-{i}-view").into()),
|
name: Some(format!("swapchain-{swapchain:?}-image-{i}-view").into()),
|
||||||
kind: vk::ImageViewType::TYPE_2D,
|
kind: vk::ImageViewType::TYPE_2D,
|
||||||
format,
|
format,
|
||||||
|
|
|
@ -11,7 +11,6 @@ use crate::{
|
||||||
commands, def_monotonic_id,
|
commands, def_monotonic_id,
|
||||||
device::{self, DeviceOwned},
|
device::{self, DeviceOwned},
|
||||||
images::{self, Image, ImageDesc},
|
images::{self, Image, ImageDesc},
|
||||||
sync,
|
|
||||||
util::{self, Rgba, WithLifetime},
|
util::{self, Rgba, WithLifetime},
|
||||||
SwapchainFrame,
|
SwapchainFrame,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue