X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fstenciltest.h;h=47e7a62787ff5bc0603b89732dfccbe71991def2;hp=652f8d4093b9ac3bdb82135d2a6fe834c36880ae;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/core/stenciltest.h b/source/core/stenciltest.h index 652f8d40..47e7a627 100644 --- a/source/core/stenciltest.h +++ b/source/core/stenciltest.h @@ -37,14 +37,12 @@ struct StencilTest void actions(StencilOp, StencilOp, StencilOp); }; - bool enabled; - Predicate compare; - StencilOp stencil_fail_op; - StencilOp depth_fail_op; - StencilOp depth_pass_op; - unsigned reference; - - StencilTest(); + bool enabled = false; + Predicate compare = ALWAYS; + StencilOp stencil_fail_op = KEEP; + StencilOp depth_fail_op = KEEP; + StencilOp depth_pass_op = KEEP; + unsigned reference = 0; }; void operator>>(const LexicalConverter &, StencilOp &);