Skip to content
Snippets Groups Projects
Commit 0d34c9da authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard
Browse files

d3dcompiler: Fix line info update.

parent b22de982
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,7 @@ hlsl_prog: /* empty */
preproc_directive: PRE_LINE STRING
{
TRACE("Updating line information to file %s, line %u\n", debugstr_a($2), $1);
hlsl_ctx.line_no = $1 - 1;
hlsl_ctx.line_no = $1;
d3dcompiler_free(hlsl_ctx.source_file);
hlsl_ctx.source_file = $2;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment