adding index buffers to directx