Add a mutex to allow preventing buffer recreation

This commit is contained in:
Billy Laws
2022-09-19 14:36:24 +01:00
parent 379b4f163d
commit 542651232b
2 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,8 @@ namespace skyline::gpu {
static bool BufferLessThan(const std::shared_ptr<Buffer> &it, u8 *pointer);
public:
std::mutex recreationMutex;
BufferManager(GPU &gpu);
/**