Henri Verbeet : wined3d: Pass an IWineD3DBaseTextureImpl pointer to basetexture_get_level_count().