D3D11: Convert const char* pointers to arrays

Reduces binary size a little, as only the string data will be stored in
the executable and not a pointer to accompany it as well.

A trivial change that's essentially "free".
This commit is contained in:
Lioncash 2019-08-24 18:58:47 -04:00
parent 4605581d6f
commit 8642d71e89

View File

@ -24,7 +24,7 @@ extern pD3DCompile D3DCompilePROC;
extern pD3DPERF_BeginEvent D3DPERF_BeginEventPROC;
extern pD3DPERF_EndEvent D3DPERF_EndEventPROC;
static const char* GammaVS =
constexpr char GammaVS[] =
"struct VertData\n"
"{\n"
" float4 posIn : POSITION;\n"
@ -45,7 +45,7 @@ static const char* GammaVS =
" return vtf;\n"
"}\n";
static const char* GammaFS =
constexpr char GammaFS[] =
"struct VertToFrag\n"
"{\n"
" float4 pos : SV_Position;\n"