Michael Stefaniuc : d3d9/tests: Simplify some logic operations.