[haiku-commits] Re: r41463 - haiku/trunk/src/add-ons/accelerants/radeon_hd

  • From: marcus overhagen <marcusoverhagen@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 12 May 2011 22:13:38 +0200

On Thu, May 12, 2011 at 6:58 PM,  <kallisti5@xxxxxxxxxxx> wrote:
>        // set flag for neg. H sync
>        if (displayTiming.flags & ~B_POSITIVE_HSYNC)

>        if (displayTiming.flags & ~B_POSITIVE_VSYNC)

Are you sure that this is correct? This expression is nearly always true.

Did you mean if (!(displayTiming.flags & B_POSITIVE_HSYNC))  ?

regards
Marcus

Other related posts: