Shut up declaration vs initialization order gcc warnings.

This commit is contained in:
riccardom 2009-12-28 13:42:37 +00:00
parent 9cb111f927
commit bc53cc5a22
1 changed files with 5 additions and 5 deletions
desmume/src

View File

@ -305,13 +305,13 @@ struct GFX3D_State
, enableClearImage(false)
, enableFog(false)
, enableFogAlphaOnly(false)
, fogShift(0)
, shading(TOON)
, alphaTestRef(0)
, clearDepth(1)
, clearColor(0)
, fogColor(0)
, fogOffset(0)
, fogShift(0)
{
for(u32 i=0;i<ARRAY_SIZE(u16ToonTable);i++)
u16ToonTable[i] = 0;
@ -358,10 +358,10 @@ extern Viewer3d_State viewer3d_state;
struct GFX3D
{
GFX3D()
: frameCtr(0)
, frameCtrRaw(0)
, polylist(0)
, vertlist(0){
: polylist(0)
, vertlist(0)
, frameCtr(0)
, frameCtrRaw(0) {
}
GFX3D_State state;