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:
parent
eb6f949ff7
commit
d0a6539d3b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue