Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed a sizeof() to make it more sane.
--HG--
branch : trunk
  • Loading branch information
icculus committed Jun 25, 2008
1 parent 4c59978 commit b58fd47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -1517,7 +1517,7 @@ void MOJOSHADER_glProgramReady(void)
const MOJOSHADER_constant *c = &pd->constants[idx];
assert(c->index < size);
memcpy(&map->uniform_array_buffer[c->index*4], c->value.f,
sizeof (GLfloat) * 4);
sizeof (c->value.f));
} // for

GLfloat *current = map->uniform_array_buffer;
Expand Down

0 comments on commit b58fd47

Please sign in to comment.