Commit 11a7c743 authored by Laszlo Agocs's avatar Laszlo Agocs

Add missing examplefw change

parent e0f7c08a
......@@ -124,6 +124,7 @@ QString graphicsApiName()
QRhi::Flags rhiFlags = QRhi::EnableDebugMarkers;
int sampleCount = 1;
QRhiSwapChain::Flags scFlags = 0;
QRhi::EndFrameFlags endFrameFlags = 0;
class Window : public QWindow
{
......@@ -413,7 +414,7 @@ void Window::render()
customRender();
m_r->endFrame(m_sc);
m_r->endFrame(m_sc, endFrameFlags);
#ifdef Q_OS_DARWIN
if (!scFlags.testFlag(QRhiSwapChain::NoVSync))
......
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