Skip to content

Commit

Permalink
Revert "fix: check if this retain is legit"
Browse files Browse the repository at this point in the history
This reverts commit c09a790.
  • Loading branch information
FL33TW00D authored and kvark committed May 4, 2023
1 parent b7977c3 commit 05df13a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/computepass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ impl ComputePassSampleBufferAttachmentDescriptorRef {
}

pub fn set_sample_buffer(&self, sample_buffer: &CounterSampleBufferRef) {
unsafe {
let () = msg_send![sample_buffer, retain];
msg_send![self, setSampleBuffer: sample_buffer]
}
unsafe { msg_send![self, setSampleBuffer: sample_buffer] }
}

pub fn start_of_encoder_sample_index(&self) -> NSUInteger {
Expand Down

0 comments on commit 05df13a

Please sign in to comment.