diff options
Diffstat (limited to 'src/wx/gl_video_view.h')
| -rw-r--r-- | src/wx/gl_video_view.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index c10f32335..ba4c7cfdc 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -38,6 +38,10 @@ public: } void update (); + bool vsync_enabled () const { + return _vsync_enabled; + } + private: void paint (); void draw (); @@ -46,4 +50,5 @@ private: wxGLContext* _context; GLuint _id; boost::optional<dcp::Size> _size; + bool _vsync_enabled; }; |
