diff --git a/vulkano/src/command_buffer/mod.rs b/vulkano/src/command_buffer/mod.rs index cd37b4ce..6e0afefb 100644 --- a/vulkano/src/command_buffer/mod.rs +++ b/vulkano/src/command_buffer/mod.rs @@ -92,7 +92,6 @@ pub use self::auto::UpdateBufferError; pub use self::state_cacher::StateCacher; pub use self::state_cacher::StateCacherOutcome; pub use self::traits::CommandBuffer; -pub use self::traits::CommandBufferBuild; pub use self::traits::CommandBufferExecError; pub use self::traits::CommandBufferExecFuture; diff --git a/vulkano/src/command_buffer/traits.rs b/vulkano/src/command_buffer/traits.rs index 9f52ff84..3f9cb8fd 100644 --- a/vulkano/src/command_buffer/traits.rs +++ b/vulkano/src/command_buffer/traits.rs @@ -145,17 +145,6 @@ pub unsafe trait CommandBuffer: DeviceOwned { // FIXME: lots of other methods } -/// Turns a command buffer builder into a real command buffer. -pub unsafe trait CommandBufferBuild { - /// The type of the built command buffer. - type Out; - /// Error that can be returned when building. - type Err; - - /// Builds the command buffer. - fn build(self) -> Result; -} - unsafe impl CommandBuffer for T where T: SafeDeref, T::Target: CommandBuffer