fixed integer to pointer cast in glVertexAttribPointer