diff options
Diffstat (limited to 'o3d/plugin/cross/o3d_glue.h')
-rw-r--r-- | o3d/plugin/cross/o3d_glue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/o3d/plugin/cross/o3d_glue.h b/o3d/plugin/cross/o3d_glue.h index 9af13dd..213687b 100644 --- a/o3d/plugin/cross/o3d_glue.h +++ b/o3d/plugin/cross/o3d_glue.h @@ -38,6 +38,7 @@ #ifdef OS_MACOSX #include <OpenGL/OpenGL.h> #include <AGL/agl.h> +#include <CoreGraphics/CGContext.h> #endif #ifdef OS_LINUX @@ -285,9 +286,8 @@ class PluginObject: public NPObject { // end of Safari tab detection vars GLint last_buffer_rect_[4]; Point last_plugin_loc_; - // can be a CGrafPtr, a CGContextRef or NULL depending on drawing_model - void* mac_2d_context_; - // either can be NULL depending on drawing_model + // each of these three can be NULL depending on drawing_model + CGContextRef mac_cg_context_ref_; AGLContext mac_agl_context_; CGLContextObj mac_cgl_context_; void *gl_layer_; |