freesci-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freesci-develop] KQ1 priority bugs


From: Walter van Niftrik
Subject: [freesci-develop] KQ1 priority bugs
Date: Thu, 30 Jan 2003 01:39:10 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212

Hi all,

I've been researching the KQ1 priority bugs and I *think* I've found the cause. File kgraphics.c, line 159:

if (s->pic_priority_table) { /* SCI01 priority table set? */
       int j;
       for (j = 0; j < 15; j++)
               if (y < s->pic_priority_table[j])
                        return j;
       return 14; /* Maximum */
}

In KQ1 the table looks something like this:

(0,0)
(1,48)
...
(15,190)

I think the comparison in the search loop should be something like this: (y < s->pic_priority_table[j+1]). (Assuming the table is correct and it always starts with (0,0) and ends with (15,190)).

Initial tests seem to show that the priority issues in KQ1 are gone after this change.

Could someone (/me glances over at Christoph and Lars) take a closer look at this? ;)

Thanks,

Walter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]