temp remove wayland
This commit is contained in:
parent
b794a741aa
commit
90b7f38f0e
|
@ -82,11 +82,11 @@ public:
|
|||
if (QGuiApplication::platformName().contains("xcb")) {
|
||||
params[2].type = MPV_RENDER_PARAM_X11_DISPLAY;
|
||||
params[2].data = QX11Info::display();
|
||||
} else if (QGuiApplication::platformName().contains("wayland")) {
|
||||
} /* else if (QGuiApplication::platformName().contains("wayland")) {
|
||||
params[2].type = MPV_RENDER_PARAM_WL_DISPLAY;
|
||||
auto *native = QGuiApplication::platformNativeInterface();
|
||||
params[2].data = native->nativeResourceForWindow("display", NULL);
|
||||
}
|
||||
} */
|
||||
#endif
|
||||
|
||||
if (mpv_render_context_create(&obj->mpv_gl, obj->mpv, params) < 0)
|
||||
|
|
Loading…
Reference in a new issue