mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 19:55:54 +01:00
Use the platform independent version of ReadTSC
- If I use the gnu inline version, the game runs way too fast on my cpu due to frequency scaling (I think).
This commit is contained in:
parent
1b873d3ab4
commit
dbd896b58d
|
@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#include <Engine/Base/Priority.inl>
|
#include <Engine/Base/Priority.inl>
|
||||||
|
|
||||||
// !!! FIXME: use SDL timer code instead and rdtsc never?
|
// !!! FIXME: use SDL timer code instead and rdtsc never?
|
||||||
#if (USE_PORTABLE_C)
|
#if (USE_PORTABLE_C) || PLATFORM_UNIX
|
||||||
#define USE_GETTIMEOFDAY 1
|
#define USE_GETTIMEOFDAY 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user