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;
@ -63,7 +65,7 @@ public:
}
private:
std::unordered_map<u8, MTL::RenderPipelineState*> pipelineCache;
std::map<u8, MTL::RenderPipelineState*> pipelineCache;
MTL::Device* device;
MTL::Function* vertexFunction;