[ Thread Index |
Date Index
| More lists.tuxfamily.org/xmoto-dev Archives
]
- To: xmoto-dev@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [xmoto-dev] VBO
- From: "Rasmus Neckelmann" <neckelmann@xxxxxxxxx>
- Date: Thu, 21 Dec 2006 09:44:42 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oqde60OLR8fY5cK6XM03Nbk6GWBK7CM8jRdyKrXM9gt/62+NPF6C0NXQMqfokMfCFn1suU6+LMfxhLe/nuhO/dLViOV3267bCc1B/OLSAaGzwIdW42wBanY4sQOA5yFKzDapfeJ3ISKHAjSoBx4poyZShS07u7u6SBkNlGv9xCk=
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