From b1987ef43d86357a5a8bfd9b6842ca2e0458b203 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 9 Nov 2019 01:12:20 -0800 Subject: [PATCH] Fix comments --- api/macglutfix.m | 16 ++++++++-------- clientscr/Mac_Saver_ModuleView.m | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/api/macglutfix.m b/api/macglutfix.m index 1b5a9d7228..7f983a33f3 100644 --- a/api/macglutfix.m +++ b/api/macglutfix.m @@ -292,14 +292,14 @@ kern_return_t _MGSDisplayFrame(mach_port_t server_port, int32_t frame_index, uin @end -// OpenGL apps built under Xcode 11 under Catalina apparently use window -// dimensions based on the number of backing store pixels. That is, they -// double the window dimensiona for Retina displays (which have two pixels -// per point.) But OpenGL apps built under earlier versions of Xcode don't. -// Catalina assumes OpenGL apps work as built under Xcode 11, so it displays -// older builds at half width and height, unless we compensate in our code. -// This code is part of my attempt to ensure that BOINC graphics apps built on -// all versions of Xcode work proprly on different versions of OS X. See also +// Under OS 10.15 Catalina, OpenGL apps apparently use window dimensions +// based on the number of backing store pixels. That is, they double the +// window dimensions for Retina displays (which have two pixels per point.) +// But OpenGL apps running under earlier versions of OS X don't. As a +// result, Catalina displays BOINC graphics at half width and height +// unless we compensate in our code. +// This code is part of my attempt to ensure that BOINC graphics apps are +// displayed properly on different versions of OS X. See also // [BOINC_Saver_ModuleView initWithFrame:] in clientscr/Mac_Saver_ModuleCiew.m // void MacPassOffscreenBufferToScreenSaver() { diff --git a/clientscr/Mac_Saver_ModuleView.m b/clientscr/Mac_Saver_ModuleView.m index f5d775f907..8a64b23a29 100644 --- a/clientscr/Mac_Saver_ModuleView.m +++ b/clientscr/Mac_Saver_ModuleView.m @@ -218,14 +218,14 @@ void launchedGfxApp(char * appPath, pid_t thePID, int slot) { myIsPreview = isPreview; } - // OpenGL apps built under Xcode 11 under Catalina apparently use window - // dimensions based on the number of backing store pixels. That is, they - // double the window dimensiona for Retina displays (which have two pixels - // per point.) But OpenGL apps built under earlier versions of Xcode don't. - // Catalina assumes OpenGL apps work as built under Xcode 11, so it displays - // older builds at half width and height, unless we compensate in our code. - // This code is part of my attempt to ensure that BOINC graphics apps built on - // all versions of Xcode work proprly on different versions of OS X. See also + // Under OS 10.15 Catalina, OpenGL apps apparently use window dimensions + // based on the number of backing store pixels. That is, they double the + // window dimensions for Retina displays (which have two pixels per point.) + // But OpenGL apps running under earlier versions of OS X don't. As a + // result, Catalina displays BOINC graphics at half width and height, + // unless we compensate in our code. + // This code is part of my attempt to ensure that BOINC graphics apps are + // displayed properly on different versions of OS X. See also // MacPassOffscreenBufferToScreenSaver() in lib/magglutfix.m for more info. // if (gIsCatalina) {