I viewed that source file yesterday, and gl_clamp_mode is set to GL_CLAMP
earlier in the file, though i do agree, it could be made more readable

On Dec 10, 2007 4:47 PM, Giel van Schijndel <[EMAIL PROTECTED]> wrote:

> Christian Ohm schreef:
>
> screen.c:
> > +     }
> > +
> > +     if (atof(glGetString(GL_VERSION)) > 1.15) // add .05 for float
> conversion errors
> > +     {
> > +             gl_clamp_mode = GL_CLAMP_TO_EDGE;
> > +             debug(LOG_VIDEO, "Using GL_CLAMP_TO_EDGE\n");
> > +     }
> > +     else
> > +     {
> > +             debug(LOG_VIDEO, "Using GL_CLAMP\n");
> >       }
>
> I suggest you add "gl_clamp_mode = GL_CLAMP;" in the else-branch of that
> if-statement.
>
> --
> Giel
>
>
> _______________________________________________
> Warzone-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/warzone-dev
>
>
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to