From cb71c183ed4060b0f46b3da491dbd63437bb5faf Mon Sep 17 00:00:00 2001 From: rti Date: Fri, 13 Aug 2010 15:40:04 +0200 Subject: [PATCH] Changed: #878 Fix typos in comments/code --- code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm | 2 -- code/nel/src/misc/time_nl.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm b/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm index 81fed89c1..d627ee00f 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm @@ -448,8 +448,6 @@ bool getModes(std::vector &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); diff --git a/code/nel/src/misc/time_nl.cpp b/code/nel/src/misc/time_nl.cpp index 79298b464..4b86ee761 100644 --- a/code/nel/src/misc/time_nl.cpp +++ b/code/nel/src/misc/time_nl.cpp @@ -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