mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
D3D11: Make stateman a unique_ptr
This commit is contained in:
parent
3b86c93285
commit
d0d010f854
3 changed files with 5 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <unordered_map>
|
||||
|
||||
|
@ -296,7 +297,7 @@ private:
|
|||
ID3D11ComputeShader* m_compute_shader = nullptr;
|
||||
};
|
||||
|
||||
extern StateManager* stateman;
|
||||
extern std::unique_ptr<StateManager> stateman;
|
||||
|
||||
} // namespace D3D
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue