From 0cc94ceb15256a4b642fdda449903a6b1a837adf Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 29 Oct 2022 12:52:00 -0700 Subject: [PATCH] Draw: Correct ambiguous comparison overload. --- Common/GPU/thin3d.h | 3 +++ 1 file changed, 3 insertions(+) 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;