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