diff options
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/mac/aquaOpenGLView.h | 9 |
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 |