Commit bebdc10f authored by sletta's avatar sletta

Remove direct rendering calls. The API is removed from upstream.

parent 08051c44
......@@ -234,14 +234,6 @@ void LipstickCompositor::setFullscreenSurface(QWaylandSurface *surface)
m_fullscreenSurface = surface;
const bool directRenderingSucceeded = setDirectRenderSurface(m_fullscreenSurface, openglContext());
if (surface && !directRenderingSucceeded)
qWarning() << Q_FUNC_INFO << "failed to set direct render surface";
if ((surface && directRenderingSucceeded) != m_directRenderingActive) {
m_directRenderingActive = surface && directRenderingSucceeded;
emit directRenderingActiveChanged();
}
emit fullscreenSurfaceChanged();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment