Alexander Dorofeyev : ddraw/tests: Split d3d1 initialization and destruction into separate functions.