1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Do not try to reset pointer in Rc destructor

This gets optimized away in release builds.
This commit is contained in:
Philip Rebohle 2024-10-15 11:43:31 +02:00
parent e4630685e4
commit de65e06831

View File

@ -89,7 +89,6 @@ namespace dxvk {
~Rc() { ~Rc() {
this->decRef(); this->decRef();
m_object = nullptr;
} }
T& operator * () const { return *m_object; } T& operator * () const { return *m_object; }