Fix ShapeKey::withoutCullFace to set, not reset

This commit is contained in:
Zach Pomerantz 2016-02-08 16:14:03 -08:00
parent a7bafed61b
commit 281ba3c3ea

View file

@ -61,7 +61,7 @@ public:
Builder& withDepthOnly() { _flags.set(DEPTH_ONLY); return (*this); }
Builder& withDepthBias() { _flags.set(DEPTH_BIAS); return (*this); }
Builder& withWireframe() { _flags.set(WIREFRAME); return (*this); }
Builder& withoutCullFace() { _flags.reset(NO_CULL_FACE); return (*this); }
Builder& withoutCullFace() { _flags.set(NO_CULL_FACE); return (*this); }
Builder& withOwnPipeline() { _flags.set(OWN_PIPELINE); return (*this); }
Builder& invalidate() { _flags.set(INVALID); return (*this); }