[PATCH 5/5] wined3d: Use the global memory allocation helpers.