On 3/31/03 at 2:38 PM David Luff wrote:
>Replacing the offending line:
>
>return((ldiff < rlen) && (wdiff < rwidth));
>
>with the somewhat more verbose
>
>if(ldiff < rlen) {
>       return(wdiff < rwidth);
>} else {
>       return(false);
>}
>
>cures it completely!  Am I doing something really daft, or is this a
>genuine compiler bug?
>

I'm doing something daft - forget this post - the above both drop the frame
rate.  The reason the return(false) fix fixes it is because then the
function doesn't get called any more!

Where's that brown paper bag when you need it??

Cheers - Dave




_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to