bugs in chunk rendering solved

glDrawElements is now used without any bug !
Next step is to apply textures.