[ Thread Index |
Date Index
| More lists.tuxfamily.org/xmoto-dev Archives
]
Quoting Rasmus Neckelmann <neckelmann@xxxxxxxxx>:
> On 12/20/06, Kees Jongenburger <kees.jongenburger@xxxxxxxxx> wrote:
> > Hello
> > in Renderer.cpp there is a method called GameRenderer::unprepareForNewLevel
> > this method contains this call
> > glDeleteBuffersARB(1, (GLuint *) &m_Geoms[i]->Polys[j]->nVertexBufferID);
> >
> > is this related to useVBOs?
> > can I wrap in around a useVBOs() ?
>
> Yes, it should only be called when VBOs are used. If it's not already
> protected by a useVBOs(), it's a bug.
>
> --
> Rasmus Neckelmann
>
>
Kees, if it's a bug a that you change something, commit on both branches please.