Update src/core/hle/service/nvnflinger/buffer_queue_core.h

Adjust buffer_history_pos.
This commit is contained in:
SDK-Chan 2025-09-14 17:47:21 +02:00 committed by crueter
parent b9adcc9785
commit 881bd82d6e

View file

@ -91,7 +91,7 @@ private:
bool buffer_has_been_queued{}; bool buffer_has_been_queued{};
u64 frame_counter{}; u64 frame_counter{};
std::array<BufferHistoryInfo, BUFFER_HISTORY_SIZE> buffer_history{}; std::array<BufferHistoryInfo, BUFFER_HISTORY_SIZE> buffer_history{};
u32 buffer_history_pos{}; u32 buffer_history_pos{BUFFER_HISTORY_SIZE-1};
u32 transform_hint{}; u32 transform_hint{};
bool is_allocating{}; bool is_allocating{};
mutable std::condition_variable_any is_allocating_condition; mutable std::condition_variable_any is_allocating_condition;