Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
9984b638fb
commit
ed8a11717d
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
|
// Frequency stays at 0 because on mac cocoa, display resolution
|
||||||
// is never really changed. if rendering res < display res,
|
// is never really changed. if rendering res < display res,
|
||||||
// cocoa interpolates and keeps the display at it's original 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;
|
mode.Frequency = 0;
|
||||||
modes.push_back (mode);
|
modes.push_back (mode);
|
||||||
|
|
||||||
|
|
|
@ -183,6 +183,7 @@ TTicks CTime::getPerformanceTime ()
|
||||||
return (hi << 32) | (lo & 0xffffffff);
|
return (hi << 32) | (lo & 0xffffffff);
|
||||||
#elif defined(HAVE_X86) and !defined(NL_OS_MAC)
|
#elif defined(HAVE_X86) and !defined(NL_OS_MAC)
|
||||||
unsigned long long int x;
|
unsigned long long int x;
|
||||||
|
// RDTSC - Read time-stamp counter into EDX:EAX.
|
||||||
__asm__ volatile (".byte 0x0f, 0x31" : "=A" (x));
|
__asm__ volatile (".byte 0x0f, 0x31" : "=A" (x));
|
||||||
return x;
|
return x;
|
||||||
#else // HAVE_X86
|
#else // HAVE_X86
|
||||||
|
|
Loading…
Reference in a new issue