diff --git a/vulkano/src/command_buffer/cb/sys.rs b/vulkano/src/command_buffer/cb/sys.rs
index dd8e2ec5..a5b05f52 100644
--- a/vulkano/src/command_buffer/cb/sys.rs
+++ b/vulkano/src/command_buffer/cb/sys.rs
@@ -24,7 +24,7 @@ use framebuffer::EmptySinglePassRenderPassDesc;
use framebuffer::Framebuffer;
use framebuffer::FramebufferRef;
use framebuffer::RenderPass;
-use framebuffer::RenderPassRef;
+use framebuffer::RenderPassAbstract;
use framebuffer::Subpass;
use OomError;
use VulkanObject;
@@ -114,7 +114,7 @@ impl
UnsafeCommandBufferBuilder
where P: CommandPool {
/// > be able to submit invalid commands.
pub unsafe fn new(pool: P, kind: Kind, flags: Flags)
-> Result, OomError>
- where R: RenderPassRef, F: FramebufferRef
+ where R: RenderPassAbstract, F: FramebufferRef
{
let secondary = match kind {
Kind::Primary => false,
@@ -145,7 +145,7 @@ impl UnsafeCommandBufferBuilder
where P: CommandPool {
pub unsafe fn already_allocated(pool: P, cmd: AllocatedCommandBuffer,
kind: Kind, flags: Flags)
-> Result, OomError>
- where R: RenderPassRef, F: FramebufferRef
+ where R: RenderPassAbstract, F: FramebufferRef
{
let device = pool.device().clone();
let vk = device.pointers();
diff --git a/vulkano/src/command_buffer/cmd/begin_render_pass.rs b/vulkano/src/command_buffer/cmd/begin_render_pass.rs
index a1ddb687..46973c93 100644
--- a/vulkano/src/command_buffer/cmd/begin_render_pass.rs
+++ b/vulkano/src/command_buffer/cmd/begin_render_pass.rs
@@ -22,7 +22,7 @@ use framebuffer::FramebufferRef;
use framebuffer::FramebufferRenderPass;
use framebuffer::RenderPass;
use framebuffer::RenderPassClearValues;
-use framebuffer::RenderPassRef;
+use framebuffer::RenderPassAbstract;
use VulkanObject;
use VulkanPointers;
use vk;
@@ -54,7 +54,7 @@ impl CmdBeginRenderPass, F>
// TODO: allow setting more parameters
pub fn new(framebuffer: F, secondary: bool, clear_values: C)
-> CmdBeginRenderPass, F>
- where ::RenderPass: RenderPassRef + RenderPassClearValues
+ where ::RenderPass: RenderPassAbstract + RenderPassClearValues
{
let raw_render_pass = framebuffer.render_pass().inner().internal_object();
let device = framebuffer.render_pass().device().clone();
diff --git a/vulkano/src/command_buffer/helper_trait.rs b/vulkano/src/command_buffer/helper_trait.rs
index 19b495b8..dbd6e814 100644
--- a/vulkano/src/command_buffer/helper_trait.rs
+++ b/vulkano/src/command_buffer/helper_trait.rs
@@ -20,7 +20,7 @@ use framebuffer::FramebufferRef;
use framebuffer::FramebufferRenderPass;
use framebuffer::RenderPass;
use framebuffer::RenderPassClearValues;
-use framebuffer::RenderPassRef;
+use framebuffer::RenderPassAbstract;
use pipeline::GraphicsPipeline;
use pipeline::vertex::Source;
@@ -59,7 +59,7 @@ pub unsafe trait CommandBufferBuilder {
-> O
where Self: Sized + AddCommand, F>, Out = O>,
F: FramebufferRef + FramebufferRenderPass,
- ::RenderPass: RenderPassRef + RenderPassClearValues
+ ::RenderPass: RenderPassAbstract + RenderPassClearValues
{
let cmd = cmd::CmdBeginRenderPass::new(framebuffer, secondary, clear_values);
self.add(cmd)
diff --git a/vulkano/src/framebuffer/framebuffer.rs b/vulkano/src/framebuffer/framebuffer.rs
index 90bf24a8..bb35c965 100644
--- a/vulkano/src/framebuffer/framebuffer.rs
+++ b/vulkano/src/framebuffer/framebuffer.rs
@@ -20,7 +20,7 @@ use framebuffer::AttachmentsList;
use framebuffer::FramebufferRef;
use framebuffer::FramebufferRenderPass;
use framebuffer::RenderPass;
-use framebuffer::RenderPassRef;
+use framebuffer::RenderPassAbstract;
use framebuffer::RenderPassDescAttachmentsList;
use Error;
@@ -55,7 +55,7 @@ impl