mirror of https://github.com/BOINC/boinc.git
Fix comments
This commit is contained in:
parent
fe8e85a199
commit
b1987ef43d
|
@ -292,14 +292,14 @@ kern_return_t _MGSDisplayFrame(mach_port_t server_port, int32_t frame_index, uin
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
// OpenGL apps built under Xcode 11 under Catalina apparently use window
|
// Under OS 10.15 Catalina, OpenGL apps apparently use window dimensions
|
||||||
// dimensions based on the number of backing store pixels. That is, they
|
// based on the number of backing store pixels. That is, they double the
|
||||||
// double the window dimensiona for Retina displays (which have two pixels
|
// window dimensions for Retina displays (which have two pixels per point.)
|
||||||
// per point.) But OpenGL apps built under earlier versions of Xcode don't.
|
// But OpenGL apps running under earlier versions of OS X don't. As a
|
||||||
// Catalina assumes OpenGL apps work as built under Xcode 11, so it displays
|
// result, Catalina displays BOINC graphics at half width and height
|
||||||
// older builds at half width and height, unless we compensate in our code.
|
// unless we compensate in our code.
|
||||||
// This code is part of my attempt to ensure that BOINC graphics apps built on
|
// This code is part of my attempt to ensure that BOINC graphics apps are
|
||||||
// all versions of Xcode work proprly on different versions of OS X. See also
|
// displayed properly on different versions of OS X. See also
|
||||||
// [BOINC_Saver_ModuleView initWithFrame:] in clientscr/Mac_Saver_ModuleCiew.m
|
// [BOINC_Saver_ModuleView initWithFrame:] in clientscr/Mac_Saver_ModuleCiew.m
|
||||||
//
|
//
|
||||||
void MacPassOffscreenBufferToScreenSaver() {
|
void MacPassOffscreenBufferToScreenSaver() {
|
||||||
|
|
|
@ -218,14 +218,14 @@ void launchedGfxApp(char * appPath, pid_t thePID, int slot) {
|
||||||
myIsPreview = isPreview;
|
myIsPreview = isPreview;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OpenGL apps built under Xcode 11 under Catalina apparently use window
|
// Under OS 10.15 Catalina, OpenGL apps apparently use window dimensions
|
||||||
// dimensions based on the number of backing store pixels. That is, they
|
// based on the number of backing store pixels. That is, they double the
|
||||||
// double the window dimensiona for Retina displays (which have two pixels
|
// window dimensions for Retina displays (which have two pixels per point.)
|
||||||
// per point.) But OpenGL apps built under earlier versions of Xcode don't.
|
// But OpenGL apps running under earlier versions of OS X don't. As a
|
||||||
// Catalina assumes OpenGL apps work as built under Xcode 11, so it displays
|
// result, Catalina displays BOINC graphics at half width and height,
|
||||||
// older builds at half width and height, unless we compensate in our code.
|
// unless we compensate in our code.
|
||||||
// This code is part of my attempt to ensure that BOINC graphics apps built on
|
// This code is part of my attempt to ensure that BOINC graphics apps are
|
||||||
// all versions of Xcode work proprly on different versions of OS X. See also
|
// displayed properly on different versions of OS X. See also
|
||||||
// MacPassOffscreenBufferToScreenSaver() in lib/magglutfix.m for more info.
|
// MacPassOffscreenBufferToScreenSaver() in lib/magglutfix.m for more info.
|
||||||
//
|
//
|
||||||
if (gIsCatalina) {
|
if (gIsCatalina) {
|
||||||
|
|
Loading…
Reference in New Issue