Commit 8e1e6261 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wined3d: Remove '\0's in traces.

parent 9a133441
......@@ -860,7 +860,7 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateShader(
else
shader_addline(&buffer, "gl_FragColor = R0;\n");
}
shader_addline(&buffer, "}\n\0");
shader_addline(&buffer, "}\n");
TRACE("Compiling shader object %u\n", shader_obj);
GL_EXTCALL(glShaderSourceARB(shader_obj, 1, (const char**)&buffer.buffer, NULL));
......@@ -891,7 +891,7 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateShader(
if (This->baseShader.hex_version < WINED3DPS_VERSION(2,0))
shader_addline(&buffer, "MOV result.color, R0;\n");
shader_addline(&buffer, "END\n\0");
shader_addline(&buffer, "END\n");
/* TODO: change to resource.glObjectHandle or something like that */
GL_EXTCALL(glGenProgramsARB(1, &This->baseShader.prgId));
......
......@@ -750,7 +750,7 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader(
*/
shader_addline(&buffer, "gl_Position.y = gl_Position.y * posFixup[1];\n");
shader_addline(&buffer, "}\n\0");
shader_addline(&buffer, "}\n");
TRACE("Compiling shader object %u\n", shader_obj);
GL_EXTCALL(glShaderSourceARB(shader_obj, 1, (const char**)&buffer.buffer, NULL));
......@@ -803,7 +803,7 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader(
shader_addline(&buffer, "MOV result.position, TMP_OUT;\n");
shader_addline(&buffer, "END\n\0");
shader_addline(&buffer, "END\n");
/* TODO: change to resource.glObjectHandle or something like that */
GL_EXTCALL(glGenProgramsARB(1, &This->baseShader.prgId));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment