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[] = {