Gitlab@AEI Hannover will go down for maintenance on 2020-09-21 at 4:00 UTC. The service will be unavailable for up to 24 hours. If you have questions about this please contact atlas_admin@aei.mpg.de

Commit a918b54b authored by Charlie Fenton's avatar Charlie Fenton

Fix comments to be more accurate

parent 2acb9b7a
......@@ -292,14 +292,14 @@ kern_return_t _MGSDisplayFrame(mach_port_t server_port, int32_t frame_index, uin
@end
// 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
// OpenGL apps built under Xcode 11 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
// [BOINC_Saver_ModuleView initWithFrame:] in clientscr/Mac_Saver_ModuleCiew.m
//
void MacPassOffscreenBufferToScreenSaver() {
......
......@@ -218,14 +218,14 @@ void launchedGfxApp(char * appPath, pid_t thePID, int slot) {
myIsPreview = isPreview;
}
// 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
// OpenGL apps built under Xcode 11 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
// MacPassOffscreenBufferToScreenSaver() in lib/magglutfix.m for more info.
//
if (gIsCatalina) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment