MCPcopy Create free account
hub / github.com/beefytech/Beef / WaitForVBlank

Method WaitForVBlank

BeefySysLib/platform/win/DXRenderDevice.cpp:1910–1918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1908}
1909
1910bool DXRenderWindow::WaitForVBlank()
1911{
1912 IDXGIOutput* output = NULL;
1913 mDXSwapChain->GetContainingOutput(&output);
1914 if (output == NULL)
1915 return false;
1916 bool success = output->WaitForVBlank() == 0;
1917 return success;
1918}
1919
1920///
1921

Callers 1

VSyncThreadProcMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected