Le 14 juil. 09 à 15:41, Pavel Sanda a écrit :
we let RenderBase.state_ uninitialized and then get conditional jumps
based on unitialized value in our code.
either we should set state_ to something, say 0, or force construtor
to demand this like the quick shot below. what is the better way?

Just set it to false unconditionally. And change render_state_ to a bool,
which it really is.

what do we use state_ for except mouse_hoover?

grep says we only use it for that.

JMarc

Reply via email to