1
0
Fork 0

Change name.

This commit is contained in:
namedkitten 2020-04-11 14:39:45 +01:00
parent 485bfbd500
commit 27142403e1

View file

@ -82,7 +82,7 @@ public:
params[2].type = MPV_RENDER_PARAM_X11_DISPLAY;
params[2].data = QX11Info::display();
} else if (QGuiApplication::platformName().contains("wayland")) {
params[2].type = MPV_RENDER_PARAM_WAYLAND_DISPLAY;
params[2].type = MPV_RENDER_PARAM_WL_DISPLAY;
auto *native = QGuiApplication::platformNativeInterface();
params[2].data = native->nativeResourceForWindow("display", NULL);
}