Henri Verbeet : wined3d: Fix the draw buffer limit calculation.