progs/tests: Silence 'missing initializer' warnings.

This commit is contained in:
Vinson Lee 2010-01-08 23:08:57 -08:00
parent 223c8482ca
commit 683e3cb8db
2 changed files with 2 additions and 2 deletions

View File

@ -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] ) }

View File

@ -71,7 +71,7 @@ static struct wrap_mode modes[] = {
WRAP_EXT ( GL_MIRROR_CLAMP_TO_EDGE_EXT, "GL_ATI_texture_mirror_once",
"GL_EXT_texture_mirror_clamp",
999.0 ),
{ 0 }
{ 0, NULL, GL_FALSE, 0.0, { NULL, NULL } }
};
static void