From 1d7790d553fe4b268e5b1e5bec9d0d97223eaca5 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 20 May 2020 18:18:24 -0700 Subject: [PATCH] Fix macro conformance --- Texassemble/texassemble.cpp | 2 +- Texconv/texconv.cpp | 2 +- Texdiag/texdiag.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Texassemble/texassemble.cpp b/Texassemble/texassemble.cpp index f7fdb1e..1f51df8 100644 --- a/Texassemble/texassemble.cpp +++ b/Texassemble/texassemble.cpp @@ -152,7 +152,7 @@ const SValue g_pOptions[] = { nullptr, 0 } }; -#define DEFFMT(fmt) { L""#fmt, DXGI_FORMAT_ ## fmt } +#define DEFFMT(fmt) { L## #fmt, DXGI_FORMAT_ ## fmt } const SValue g_pFormats[] = { diff --git a/Texconv/texconv.cpp b/Texconv/texconv.cpp index 2553dba..904c31f 100644 --- a/Texconv/texconv.cpp +++ b/Texconv/texconv.cpp @@ -201,7 +201,7 @@ const SValue g_pOptions[] = { nullptr, 0 } }; -#define DEFFMT(fmt) { L""#fmt, DXGI_FORMAT_ ## fmt } +#define DEFFMT(fmt) { L## #fmt, DXGI_FORMAT_ ## fmt } const SValue g_pFormats[] = { diff --git a/Texdiag/texdiag.cpp b/Texdiag/texdiag.cpp index 517be1f..fab8c8e 100644 --- a/Texdiag/texdiag.cpp +++ b/Texdiag/texdiag.cpp @@ -126,7 +126,7 @@ const SValue g_pOptions[] = { nullptr, 0 } }; -#define DEFFMT(fmt) { L""#fmt, DXGI_FORMAT_ ## fmt } +#define DEFFMT(fmt) { L## #fmt, DXGI_FORMAT_ ## fmt } const SValue g_pFormats[] = {