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)
This commit is contained in:
parent
242dcf9cf8
commit
2d54a12615
5 changed files with 13 additions and 11 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue