Stefan Dösinger : wined3d: Use wined3d_texture_prepare_location() in draw_primitive().