diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-10-30 12:05:19 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-10-30 12:05:19 -0500 |
commit | c8fa64b93a7596c9a1c57fec2655c8e938921052 (patch) | |
tree | 428e533cce292be865808692b7fe7614bb69945d /support/magicleap/Servo2D/code/inc/Servo2D.h | |
parent | 4ead81717a0a9bde23304aaf5d7f9e1a005c2538 (diff) | |
download | servo-c8fa64b93a7596c9a1c57fec2655c8e938921052.tar.gz servo-c8fa64b93a7596c9a1c57fec2655c8e938921052.zip |
Hook up the back and forward buttons to history traversal in Magic Leap Servo2D
Diffstat (limited to 'support/magicleap/Servo2D/code/inc/Servo2D.h')
-rw-r--r-- | support/magicleap/Servo2D/code/inc/Servo2D.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/magicleap/Servo2D/code/inc/Servo2D.h b/support/magicleap/Servo2D/code/inc/Servo2D.h index 2f76c306e7c..490c6d60ece 100644 --- a/support/magicleap/Servo2D/code/inc/Servo2D.h +++ b/support/magicleap/Servo2D/code/inc/Servo2D.h @@ -11,7 +11,7 @@ #include <lumin/resource/PlanarResource.h> #include <SceneDescriptor.h> -typedef void* ServoInstance; +typedef struct Opaque ServoInstance; /** * Servo2D Landscape Application @@ -104,5 +104,5 @@ private: lumin::Prism* prism_ = nullptr; // represents the bounded space where the App renders. lumin::PlanarResource* plane_ = nullptr; // the plane we're rendering into lumin::QuadNode* content_node_ = nullptr; // the node containing the plane - ServoInstance servo_ = nullptr; // the servo instance we're embedding + ServoInstance* servo_ = nullptr; // the servo instance we're embedding }; |