mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-11 20:04:46 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
9a528f3f8f
commit
cb71c183ed
2 changed files with 1 additions and 2 deletions
|
@ -448,8 +448,6 @@ bool getModes(std::vector<GfxMode> &modes)
|
|||
// Frequency stays at 0 because on mac cocoa, display resolution
|
||||
// is never really changed. if rendering res < display res,
|
||||
// cocoa interpolates and keeps the display at it's original res.
|
||||
// In case of x11 on mac, fullscreen is not supported, so again, no
|
||||
// mode switching is done.
|
||||
mode.Frequency = 0;
|
||||
modes.push_back (mode);
|
||||
|
||||
|
|
|
@ -183,6 +183,7 @@ TTicks CTime::getPerformanceTime ()
|
|||
return (hi << 32) | (lo & 0xffffffff);
|
||||
#elif defined(HAVE_X86) and !defined(NL_OS_MAC)
|
||||
unsigned long long int x;
|
||||
// RDTSC - Read time-stamp counter into EDX:EAX.
|
||||
__asm__ volatile (".byte 0x0f, 0x31" : "=A" (x));
|
||||
return x;
|
||||
#else // HAVE_X86
|
||||
|
|
Loading…
Reference in a new issue