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)