diff options
author | Vinson Lee <[email protected]> | 2010-01-08 23:08:57 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-01-08 23:08:57 -0800 |
commit | 683e3cb8db5a57db2ebd364986a399e2b1009e00 (patch) | |
tree | 463b8ec5c7ce1a1772f0cc77d55e43861bc212eb /progs/tests/interleave.c | |
parent | 223c8482ca16d3ed31266ea8cc63b816aece6a81 (diff) |
progs/tests: Silence 'missing initializer' warnings.
Diffstat (limited to 'progs/tests/interleave.c')
-rw-r--r-- | progs/tests/interleave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/interleave.c b/progs/tests/interleave.c index 47bf9dfbe5e..acf67d02c12 100644 --- a/progs/tests/interleave.c +++ b/progs/tests/interleave.c @@ -105,7 +105,7 @@ static const unsigned indicies[12] = { 1, 4, 2 }; -#define NONE { NULL, 0, 0, 0 } +#define NONE { NULL, 0, 0, 0, sizeof( NULL ) } #define V2F { v, 2, 2 * sizeof( GLfloat ), GL_FLOAT, sizeof( v[0] ) } #define V3F { v, 3, 3 * sizeof( GLfloat ), GL_FLOAT, sizeof( v[0] ) } #define V4F { v, 4, 4 * sizeof( GLfloat ), GL_FLOAT, sizeof( v[0] ) } |