mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
parent
bf14371f9e
commit
e648d59a10
@ -3,13 +3,13 @@
|
|||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && !defined(__WINE__)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace dxvk {
|
namespace dxvk {
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && !defined(__WINE__)
|
||||||
struct high_resolution_clock {
|
struct high_resolution_clock {
|
||||||
static constexpr bool is_steady = true;
|
static constexpr bool is_steady = true;
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ namespace dxvk {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
using clock = std::chrono::high_resolution_clock;
|
using high_resolution_clock = std::chrono::high_resolution_clock;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user