From bbd147e1abf185da9bbe6c2ff8829014c100e165 Mon Sep 17 00:00:00 2001 From: elasota Date: Thu, 12 Nov 2020 19:12:53 -0500 Subject: [PATCH] Fix broken shader compiler --- CompileShadersD3D11/CompileShadersD3D11.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CompileShadersD3D11/CompileShadersD3D11.cpp b/CompileShadersD3D11/CompileShadersD3D11.cpp index dd35698..c984956 100644 --- a/CompileShadersD3D11/CompileShadersD3D11.cpp +++ b/CompileShadersD3D11/CompileShadersD3D11.cpp @@ -21,7 +21,8 @@ const D3D_SHADER_MACRO drawQuadDefs[] = const D3D_SHADER_MACRO drawQuadICCProfileDefs[] = { - { "USE_ICC_PROFILE", nullptr } + { "USE_ICC_PROFILE", nullptr }, + { nullptr } }; const CompileJob kCompileJobs[] = @@ -108,7 +109,7 @@ int main(int argc, const char **argv) if (result != S_OK) { - fprintf(stderr, "Compile failure error: %x", static_cast(result)); + fprintf(stderr, "Compile failure error: %x\n", static_cast(result)); } if (errorMsgs)