Browse Source

I got meowed by Gidoly

2ndgpuopts
CamilleLaVey 2 months ago
committed by crueter
parent
commit
9bef0b35ba
  1. 2
      src/video_core/buffer_cache/buffer_cache.h

2
src/video_core/buffer_cache/buffer_cache.h

@ -61,7 +61,7 @@ void BufferCache<P>::RunGarbageCollector() {
const u64 threshold = frame_tick - ticks_to_destroy; const u64 threshold = frame_tick - ticks_to_destroy;
boost::container::small_vector<BufferId, 64> expired; boost::container::small_vector<BufferId, 64> expired;
for (auto [id, buffer] : slot_buffers) { for (auto [id, buffer] : slot_buffers) {
if (buffer.GetFrameTick() < threshold) {
if (buffer->GetFrameTick() < threshold) {
expired.push_back(id); expired.push_back(id);
} }
} }

Loading…
Cancel
Save