Remove default params in render pass module

This commit is contained in:
Pierre Krieger 2017-03-07 18:55:00 +01:00
parent 50cc47ea19
commit 99305e8643
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,