mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-21 11:32:34 +00:00
Remove default params in render pass module
This commit is contained in:
parent
50cc47ea19
commit
99305e8643
@ -118,7 +118,7 @@ use vk;
|
||||
/// };
|
||||
/// # }
|
||||
/// ```
|
||||
pub struct Framebuffer<Rp, A = Box<AttachmentsList>> { // TODO: remove default params
|
||||
pub struct Framebuffer<Rp, A> {
|
||||
device: Arc<Device>,
|
||||
render_pass: Rp,
|
||||
framebuffer: vk::Framebuffer,
|
||||
|
@ -42,7 +42,7 @@ use vk;
|
||||
///
|
||||
/// The `RenderPass` struct should always implement the `RenderPassAbstract` trait. Therefore
|
||||
/// you can turn any `Arc<RenderPass<D>>` into a `Arc<RenderPassAbstract>` if you need to.
|
||||
pub struct RenderPass<D> { // TODO: remove default param type
|
||||
pub struct RenderPass<D> {
|
||||
// The internal Vulkan object.
|
||||
renderpass: vk::RenderPass,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user