mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix exhumed compiling
# Conflicts: # source/exhumed/src/exhumed.cpp # source/exhumed/src/menu.cpp
This commit is contained in:
parent
a5351620db
commit
62c37b64ae
2 changed files with 2 additions and 2 deletions
|
@ -249,7 +249,7 @@ extern int bVanilla;
|
|||
|
||||
extern double g_frameDelay;
|
||||
|
||||
static inline double calcFrameDelay(int const maxFPS) { return maxFPS > 0 ? (timerGetFreqU64()/(double)maxFPS) : 0.0; }
|
||||
static inline double calcFrameDelay(unsigned int const maxFPS) { return maxFPS ? timerGetPerformanceFrequency() / (double)maxFPS : 0.0; }
|
||||
|
||||
enum {
|
||||
kPalNormal = 0,
|
||||
|
|
|
@ -335,7 +335,7 @@ void menu_DoPlasma()
|
|||
|
||||
//uint32_t t = time(0) << 16;
|
||||
//uint32_t t2 = time(0) | t;
|
||||
nRandom = timerGetTicksU64();
|
||||
nRandom = timerGetPerformanceCounter();
|
||||
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue