d3dxof: Don't make local variables static.