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:
parent
e4630685e4
commit
de65e06831
@ -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; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user