turned out that I was dereferencing a pointer in a wrong way
with static array it was just:
glBufferData(GL_ARRAY_BUFFER,x,buffer,GL_STATIC_DR AW);
and with dynamic should be:
glBufferData(GL_ARRAY_BUFFER,x,@buffer^[0],GL_STATIC_DRAW);
where 'buffer' is a pointer for that array type.
ps: it liiveees!!
Bookmarks