Fix coding derp.

This commit is contained in:
Themaister 2012-05-06 22:38:25 +02:00
parent a5f1634dca
commit f73a8d9875

View File

@ -1231,7 +1231,7 @@ bool gl_cg_load_shader(unsigned index, const char *path)
else
{
// Always make sure we have a valid shader.
memcpy(&prg[index], &prg[0], sizeof(prg[0]));
prg[index] = prg[0];
return false;
}
}