Give a name to a global struct to shut up this gcc warning:

gfx3d.cpp:162: warning: non-local variable ‘<anonymous struct> tempVertInfo’ uses anonymous type
This commit is contained in:
riccardom 2008-12-28 15:10:31 +00:00
parent eb6f949ff7
commit d0a6539d3b
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ int listTwiddle = 1;
int triStripToggle;
//list-building state
struct {
struct tmpVertInfo {
//the number of verts registered in this list
int count;
//indices to the main vert list