summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-23 19:02:23 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-04-24 12:22:38 +0300
commitefc80f71f54d73a50b89721132a9c5668d3da39d (patch)
treefcfa4676afc7d58279297b40d7bf8954fd13f255 /slideshow
parent72108b8cba03a481c8b3cac32c3fc3d2e332eb1c (diff)
Add hopefully helpful comment
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.h b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.h
index b4b8f9fd5f73..c422886ef160 100644
--- a/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.h
+++ b/slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.h
@@ -8,6 +8,15 @@
// the most interesting is there : in OGLTrans, we use an NSView*
// and subclass the NSView to create an OpenGLView does the trick
+// I can't really parse the above
+
+// This is weird code. AquaOpenGLView objects are actually allocated
+// as NSOpenGLView objetcs, and the _openGLContext and _pixelFormat
+// fields are copied from the NSOpenGLView.h header so that it has the
+// same structure as NSOpenGLView . Surely this could be done in a
+// better way? Is this because of some pre-10.4 SDK compatibility,
+// which is irrelevant now?
+
@interface AquaOpenGLView : NSView
{
@private