Re: [xmoto-dev] bugs on textures

[ Thread Index | Date Index | More lists.tuxfamily.org/xmoto-dev Archives ]


I am not sure I did the right thing
cvs co -D '01/05/2007' -d xmoto_01_05_2007 xmoto
but here is is :)

http://box.mmapps.net/~keesj/xmoto_01_05_2007.tar.bz


On 1/8/07, nadenislamarre@xxxxxxx <nadenislamarre@xxxxxxx> wrote:
it seems to linked to this part of code.
Keesj, this bug dates after 28/12/2006,
we're 08/01/2007,
can you send me the cvs version of around 5-6 january ?
i can make several tests. i will be faster than analyse the all diff from
december.
the aim is to use cvs diff to see what broke the code

Nicolas


          for(int j=0;j<m_Geoms[i]->Polys.size();j++) {
                                                getParent()->getDrawLib()->startDraw(DRAW_MODE_POLYGON);
                                                getParent()->getDrawLib()->setColorRGB(255,255,255);
                                                getParent()->getDrawLib()->setTexture(m_Geoms[i]->pTexture,BLEND_MODE_NONE);
                                                for(int k=0;k<m_Geoms[i]->Polys[j]->nNumVertices;k++) {
                                                        getParent()->getDrawLib()->glTexCoord(m_Geoms[i]->Polys[j]->pTexCoords[k].x,
                                                                                                                                                                                                                m_Geoms[i]->Polys[j]->pTexCoords[k].y);
                                                        getParent()->getDrawLib()->glVertex(m_Geoms[i]->Polys[j]->pVertices[k].x,
                                                                                                                                                                                                        m_Geoms[i]->Polys[j]->pVertices[k].y);
                                                }
                                                getParent()->getDrawLib()->endDraw();
          }

Quoting Kees Jongenburger <kees.jongenburger@xxxxxxxxx>:

> Can you try to run in a different window size?
>
>
> On 1/8/07, nadenislamarre@xxxxxxx <nadenislamarre@xxxxxxx> wrote:
> > just for information, i'm at work, i don't try to correct.
> > But i can try some things rapidly.
> >
> > Quoting Kees Jongenburger <kees.jongenburger@xxxxxxxxx>:
> >
> > > On 1/8/07, nadenislamarre@xxxxxxx <nadenislamarre@xxxxxxx> wrote:
> > > > no that's ok, i reproduce the bug under linux in a vmware on the same
> > > computer.
> > > > useVBOs return false.
> > > and the SDL_gfx version does work?
> > >
> > >
> >
> >
> >
> >
>
>







Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/