Stefan Dösinger : ddraw: Move the index buffer growing code to a separate function.