diff --git a/Source/Plugins/Plugin_VideoOGL/Src/PixelShader.cpp b/Source/Plugins/Plugin_VideoOGL/Src/PixelShader.cpp index 1c266b5fe4..e71c306d1f 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/PixelShader.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/PixelShader.cpp @@ -449,7 +449,7 @@ char *GeneratePixelShader(u32 texture_mask, bool has_zbuffer_target, bool bRende } } - WRITE(p,"}\n\0"); + WRITE(p,"}\n"); return text; } diff --git a/Source/Plugins/Plugin_VideoOGL/Src/VertexShader.cpp b/Source/Plugins/Plugin_VideoOGL/Src/VertexShader.cpp index ff9cb4bb96..2c28d5a4c0 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/VertexShader.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/VertexShader.cpp @@ -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; }