diff options
author | Eric Anholt <eric@anholt.net> | 2008-12-23 16:08:40 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-12-29 12:09:24 -0800 |
commit | 6c01500228014a6cfa133b5dbba8c6d024833e84 (patch) | |
tree | bd8878052fbf69b8dd1146c7a5693f72ea9b27fc /src/mesa/drivers/dri/i915/i915_context.c | |
parent | c40cd2ccdd8ce7f749d03e66bcca297c2366c1f9 (diff) |
dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.
We'd come up with a negative remainder, while we were looking for the positive
version of it in the loop conditional. And, since the "did we hit our target"
break was disabled for the target_msc == 0 ("Just make the divisor/remainder
work") path, we'd never exit.
Simplify the code by just using int64_t all over instead of trying to do it
in a u32 space.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_context.c')
0 files changed, 0 insertions, 0 deletions