On Thu,  4 Oct 2001 12:55, Zephaniah E\. Hull wrote:
> On Thu, Oct 04, 2001 at 10:32:15AM -0600, Keith Whitwell wrote:
> > On Wed,  3 Oct 2001 19:19, Zephaniah E\. Hull wrote:
> > > The current mesa-3-5-branch code has a bug dealing with GL_QUADS,
> > > suffice it to say that it results in some, interesting, rendering bugs.
> >
> > Actually I think the loop should read
> >
> >     for (i = start; i < count - 4; i+=4) {
> >
> > ie. a less-than rather than less-equal.  The difference isn't noticable
> > unless you emit groups of quads with 4n+1 vertices, in which case you'll
> > get one bogus quad at the end.
>
> Actually, it is very specificly <= instead of <, otherwise you simply
> don't draw the last quad, and if you are only drawing a single quad,
> well, it never gets drawn. (I made it < the first time, then corrected)
>

Yes, you're right.

Keith

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to