- const Framebuffer *framebuffer;
- const Rect *viewport;
- const Rect *scissor;
- unsigned texture_count;
- const Clipping *clipping;
- const Program *shprog;
- unsigned shdata_count;
- const VertexSetup *vertex_setup;
- FaceWinding front_face;
- CullMode face_cull;
- const DepthTest *depth_test;
- const StencilTest *stencil_test;
- const Blend *blend;
- unsigned object_lod_bias;
-
- State();
+ const Framebuffer *framebuffer = 0;
+ const Rect *viewport = 0;
+ const Rect *scissor = 0;
+ unsigned texture_count = 0;
+ const Program *shprog = 0;
+ unsigned shdata_count = 0;
+ const VertexSetup *vertex_setup = 0;
+ FaceWinding front_face = NON_MANIFOLD;
+ CullMode face_cull = NO_CULL;
+ const DepthTest *depth_test = 0;
+ const StencilTest *stencil_test = 0;
+ const Blend *blend = 0;
+ unsigned object_lod_bias = 0;