| 1908 | } |
| 1909 | |
| 1910 | bool 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 |