Fix GL Fence signaling status (#2500)

This commit is contained in:
alasram
2024-06-14 07:04:39 -07:00
committed by GitHub
parent 46f2fa1248
commit c509874f80
4 changed files with 37 additions and 7 deletions

View File

@@ -297,7 +297,7 @@ public:
// Look for buffers that either have zero living references or equal or under FragmentationThresh
// references. In the latter case, attempt to relocate these allocations to more utilized buffers.
void defragment(const std::shared_ptr<gl::Fence>& fence) noexcept override {
void defragment(const std::shared_ptr<gl::Fence>& fence) override {
if (buffers.size() == 0) {
return;
}
@@ -502,7 +502,7 @@ void UniformBufferAllocator::release(BufferRef* ref) noexcept {
impl->release(ref);
}
void UniformBufferAllocator::defragment(const std::shared_ptr<gl::Fence>& fence) noexcept {
void UniformBufferAllocator::defragment(const std::shared_ptr<gl::Fence>& fence) {
impl->defragment(fence);
}