Skip to content

Commit

Permalink
re-add the asBuffer method, marked as deprecated (API backwards compa…
Browse files Browse the repository at this point in the history
…tibility)
  • Loading branch information
FalsePattern committed Mar 16, 2024
1 parent 13cbd68 commit 95232ec
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
package com.github.knokko.boiler.buffer;

public record MappedVmaBuffer(long vkBuffer, long vmaAllocation, long size, long hostAddress) implements VmaBuffer {
@Deprecated
public VmaBuffer asBuffer() {
return this;
}
}

0 comments on commit 95232ec

Please sign in to comment.