From b36ca2c758b6a4b4d0147f42c189ea46e0f1eca0 Mon Sep 17 00:00:00 2001 From: Oleg Kuznetsov Date: Tue, 1 Feb 2022 02:20:50 -0800 Subject: [PATCH] [d3d9] Fix Visual Studio build to resolve 'operator !=' is ambiguous error for RECT --- src/d3d9/d3d9_util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d3d9/d3d9_util.h b/src/d3d9/d3d9_util.h index a3ad1ff7..4f337abb 100644 --- a/src/d3d9/d3d9_util.h +++ b/src/d3d9/d3d9_util.h @@ -1,5 +1,7 @@ #pragma once +#define D3D11_NO_HELPERS + #include "d3d9_include.h" #include "d3d9_caps.h"