diff options
Diffstat (limited to 'o3d/plugin/cross')
-rw-r--r-- | o3d/plugin/cross/o3d_glue.cc | 1 | ||||
-rw-r--r-- | o3d/plugin/cross/o3d_glue.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/o3d/plugin/cross/o3d_glue.cc b/o3d/plugin/cross/o3d_glue.cc index 0d66e9c..a2b7ef5 100644 --- a/o3d/plugin/cross/o3d_glue.cc +++ b/o3d/plugin/cross/o3d_glue.cc @@ -142,6 +142,7 @@ PluginObject::PluginObject(NPP npp) mac_cgl_context_(0), mac_cgl_pbuffer_(0), last_mac_event_time_(0), + gl_layer_(NULL), #ifdef O3D_PLUGIN_ENABLE_FULLSCREEN_MSG time_to_hide_overlay_(0.0), #endif diff --git a/o3d/plugin/cross/o3d_glue.h b/o3d/plugin/cross/o3d_glue.h index c335665..4448ecd 100644 --- a/o3d/plugin/cross/o3d_glue.h +++ b/o3d/plugin/cross/o3d_glue.h @@ -275,6 +275,7 @@ class PluginObject: public NPObject { // either can be NULL depending on drawing_model AGLContext mac_agl_context_; CGLContextObj mac_cgl_context_; + void *gl_layer_; // If in Chrome, we actually do all of our rendering offscreen, and // bootstrap off a 1x1 pbuffer CGLPBufferObj mac_cgl_pbuffer_; |