Zebediah Figura : d3d9: Correctly check for sysmem index buffers in d3d9_stateblock_Apply().