author | Ryan C. Gordon <icculus@icculus.org> |
Sun, 09 Aug 2009 15:04:26 -0400 | |
changeset 771 | 91888f4b8772 |
parent 770 | b5e545408b02 |
child 772 | 6ada59b8559a |
--- a/mojoshader_opengl.c Sun Aug 09 15:04:13 2009 -0400 +++ b/mojoshader_opengl.c Sun Aug 09 15:04:26 2009 -0400 @@ -1806,7 +1806,7 @@ { const size_t count = size; const GLint *b = &srcb[index]; - memcpy(dstb, &b, sizeof (GLint) * count); + memcpy(dstb, b, sizeof (GLint) * count); dstb += count; } // else if