summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_glsl.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2013-05-30 15:32:44 -0500
committerTim Angus <tim@ngus.net>2013-05-31 23:10:53 +0100
commite402f6bcfd0d7aff795f320842d251accbb065b1 (patch)
tree8bc52caefdcbceee09c55badbc89bbd9112e1d31 /src/renderergl2/tr_glsl.c
parent44886a355b9aae4e05fb0e3202613f6323217b57 (diff)
fix some "\n"-related stuff
add missing "\n"s to some Printf()-like calls (in Rend2) drop erroneous "\n"s from some Error()-like calls (in Rend2) drop erroneous "\n" from a Com_Error() call (in vm_sparc.c)
Diffstat (limited to 'src/renderergl2/tr_glsl.c')
-rw-r--r--src/renderergl2/tr_glsl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderergl2/tr_glsl.c b/src/renderergl2/tr_glsl.c
index 93b78a1a..d8b07432 100644
--- a/src/renderergl2/tr_glsl.c
+++ b/src/renderergl2/tr_glsl.c
@@ -431,7 +431,8 @@ static void GLSL_LinkProgram(GLhandleARB program)
if(!linked)
{
GLSL_PrintInfoLog(program, qfalse);
- ri.Error(ERR_DROP, "\nshaders failed to link");
+ ri.Printf(PRINT_ALL, "\n");
+ ri.Error(ERR_DROP, "shaders failed to link");
}
}
@@ -445,7 +446,8 @@ static void GLSL_ValidateProgram(GLhandleARB program)
if(!validated)
{
GLSL_PrintInfoLog(program, qfalse);
- ri.Error(ERR_DROP, "\nshaders failed to validate");
+ ri.Printf(PRINT_ALL, "\n");
+ ri.Error(ERR_DROP, "shaders failed to validate");
}
}