Browse Source

hle: service: nvflinger: buffer_queue_core: Cleanup & fixes.

nce_cpp
bunnei 4 years ago
parent
commit
63094fb176
  1. 1
      src/core/hle/service/nvflinger/buffer_queue_core.cpp
  2. 2
      src/core/hle/service/nvflinger/buffer_queue_core.h

1
src/core/hle/service/nvflinger/buffer_queue_core.cpp

@ -95,7 +95,6 @@ void BufferQueueCore::FreeBufferLocked(s32 slot) {
}
void BufferQueueCore::FreeAllBuffersLocked() {
queue.clear();
buffer_has_been_queued = false;
for (s32 slot = 0; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) {

2
src/core/hle/service/nvflinger/buffer_queue_core.h

@ -73,8 +73,6 @@ private:
u32 transform_hint{};
bool is_allocating{};
mutable std::condition_variable_any is_allocating_condition;
bool allow_allocation{true};
u64 buffer_age{};
bool is_shutting_down{};
};

Loading…
Cancel
Save