[PATCH 1/5] wined3d: Explicitly calculate the sub-resource level in texture2d_create_dc().