Henri Verbeet : wined3d: Make functions static where possible.