Henri Verbeet : wined3d: Pass a sub-resource index instead of a miplevel to 2D texture methods.