Removed unnecessary extra terminating zero: sprintf() already zero-terminates its output.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@347 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ef61bd8995
commit
b9feea5412
|
@ -449,7 +449,7 @@ char *GeneratePixelShader(u32 texture_mask, bool has_zbuffer_target, bool bRende
|
|||
}
|
||||
}
|
||||
|
||||
WRITE(p,"}\n\0");
|
||||
WRITE(p,"}\n");
|
||||
|
||||
return text;
|
||||
}
|
||||
|
|
|
@ -402,7 +402,7 @@ char *GenerateVertexShader(u32 components, bool has_zbuffer_target)
|
|||
// WRITE(p, "o.fog = o.pos.z/o.pos.w;\n");
|
||||
// }
|
||||
|
||||
WRITE(p,"return o;\n}\n\0");
|
||||
WRITE(p,"return o;\n}\n");
|
||||
|
||||
return text;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue