Józef Kucia : wined3d: Clean up buffer_sync_apple().