diff --git a/Common/GPU/thin3d.h b/Common/GPU/thin3d.h index 9bc0c3a14a..7a2c012f89 100644 --- a/Common/GPU/thin3d.h +++ b/Common/GPU/thin3d.h @@ -393,6 +393,9 @@ struct AutoRef { *this = p.ptr; return *this; } + bool operator !=(const AutoRef &p) const { + return ptr != p.ptr; + } T *operator->() const { return ptr;