summaryrefslogtreecommitdiff
path: root/src/renderergl1
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl1')
-rw-r--r--src/renderergl1/tr_shader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderergl1/tr_shader.c b/src/renderergl1/tr_shader.c
index 116eee94..c44925a8 100644
--- a/src/renderergl1/tr_shader.c
+++ b/src/renderergl1/tr_shader.c
@@ -1011,8 +1011,8 @@ static qboolean ParseStage( shaderStage_t *stage, char **text )
token = COM_ParseExt( text, qfalse );
if ( token[0] == 0 )
break;
- strcat( buffer, token );
- strcat( buffer, " " );
+ Q_strcat( buffer, sizeof (buffer), token );
+ Q_strcat( buffer, sizeof (buffer), " " );
}
ParseTexMod( buffer, stage );