Add patch to detect direct rendering in Wine applications.