Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix coding derp.

  • Loading branch information...
commit f73a8d98757a0472f102a524453559dbc856c767 1 parent a5f1634
@Themaister authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gfx/shader_cg.c
View
2  gfx/shader_cg.c
@@ -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;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.