fix: hashes

This commit is contained in:
Samuliak 2024-07-23 10:47:57 +02:00
parent a783f09e7c
commit d8937e5827
6 changed files with 63 additions and 25 deletions

View file

@ -1,5 +1,7 @@
#pragma once
#include <map>
#include "pica_to_mtl.hpp"
using namespace PICA;
@ -76,7 +78,7 @@ public:
}
private:
std::unordered_map<u64, MTL::DepthStencilState*> depthStencilCache;
std::map<u64, MTL::DepthStencilState*> depthStencilCache;
MTL::Device* device;
};