Make sure this string is null-terminated

This commit is contained in:
twinaphex 2016-10-21 20:14:51 +02:00
parent 35ba7fb2c4
commit b95ec0d28e

View File

@ -163,6 +163,8 @@ static void gl_cg_set_uniform_parameter(
char ident[64];
CGprogram prog = 0;
ident[0] = '\0';
switch (param->lookup.type)
{
case SHADER_PROGRAM_VERTEX: