[PATCH v3 1/6] d3dx10/sprite: Check for the Begin/End state in affected methods.