From 435f70be7aebd9a669d6a276df67e8eb814a45e3 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 17 Oct 2018 09:26:27 -0700 Subject: Implemented separate samplers in D3D11 --- Common/interface/StringTools.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Common/interface') diff --git a/Common/interface/StringTools.h b/Common/interface/StringTools.h index 2ce9729d..e7e14dfd 100644 --- a/Common/interface/StringTools.h +++ b/Common/interface/StringTools.h @@ -98,7 +98,7 @@ inline int StrCmpNoCase(const char* Str1, const char* Str2) } // Returns true if RefStr == Str + Suff -// If NoSuffixAllowed == true, also returns true if RefStr == Str +// If Suff == nullptr or NoSuffixAllowed == true, also returns true if RefStr == Str inline bool StrCmpSuff(const char* RefStr, const char* Str, const char* Suff, bool NoSuffixAllowed = false) { VERIFY_EXPR(RefStr != nullptr && Str!= nullptr); @@ -123,9 +123,9 @@ inline bool StrCmpSuff(const char* RefStr, const char* Str, const char* Suff, bo if (*s != 0) { - // abc abc_def - // ^ ^ - // r s + // ab abc + // ^ ^ + // r s VERIFY_EXPR(*r == 0); return false; } -- cgit v1.2.3