diff --git a/Texassemble/texassemble.cpp b/Texassemble/texassemble.cpp index 34aff99..f7fdb1e 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 14128d0..2553dba 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 c2cee71..517be1f 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[] = {