Skip to content

Commit

Permalink
Fixed pointer dereference.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 9, 2009
1 parent 391403f commit a25bab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -1806,7 +1806,7 @@ void MOJOSHADER_glProgramReady(void)
{
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

Expand Down

0 comments on commit a25bab2

Please sign in to comment.