HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
ttauri
GUI
vertical_sync.hpp
1
// Copyright Take Vos 2019.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include "../os_detect.hpp"
8
9
#if TT_OPERATING_SYSTEM == TT_OS_WINDOWS
10
#include "vertical_sync_win32.hpp"
11
namespace
tt {
12
using
vertical_sync = vertical_sync_win32;
13
}
14
15
#elif TT_OPERATING_SYSTEM == TT_OS_MACOS
16
#include "vertical_sync_macos.hpp"
17
namespace
tt {
18
using
vertical_sync = vertical_sync_macos;
19
}
20
21
#else
22
#error "vertical_sync not implemented for os"
23
#endif
Generated on Mon Apr 22 2024 12:53:42 for HikoGUI by
1.10.0