added missing par

This commit is contained in:
Paolo Cignoni 2012-10-07 17:20:54 +00:00
parent 6f7db152b2
commit 98fd61970e
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ public:
if(curr_hints&HNUseVBO)
{
for(int i=0;i<3;++i)
if(glIsBuffer(array_buffers[i]))
glDeleteBuffersARB(1, (GLuint *)(array_buffers+i));
if(glIsBuffer(GLuint(array_buffers[i])))
glDeleteBuffersARB(1, (GLuint *)(array_buffers+i));
}
}