d3dcompiler: Properly print compilation messages.

This commit is contained in:
Matteo Bruni 2012-07-11 17:27:49 +02:00 committed by Alexandre Julliard
parent b4a31d0a9e
commit b33e1ceaf2
1 changed files with 3 additions and 3 deletions

View File

@ -359,7 +359,7 @@ static HRESULT preprocess_shader(const void *data, SIZE_T data_size,
int size;
ID3DBlob *buffer;
TRACE("Preprocessor messages:\n%s", debugstr_a(wpp_messages));
TRACE("Preprocessor messages:\n%s\n", debugstr_a(wpp_messages));
if (error_messages)
{
@ -405,7 +405,7 @@ static HRESULT assemble_shader(const char *preproc_shader,
if (messages)
{
TRACE("Assembler messages:\n");
TRACE("%s", messages);
TRACE("%s\n", debugstr_a(messages));
TRACE("Shader source:\n");
TRACE("%s\n", debugstr_a(preproc_shader));
@ -537,7 +537,7 @@ static HRESULT compile_shader(const char *preproc_shader, const char *target, co
if (messages)
{
TRACE("Compiler messages:\n");
TRACE("%s", messages);
TRACE("%s\n", debugstr_a(messages));
TRACE("Shader source:\n");
TRACE("%s\n", debugstr_a(preproc_shader));