Working Direct2D version