X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fgl_video_view.h;h=ba4c7cfdc92df3a32afbc9642f3de5d8264b8fdc;hb=15ee4641d8b89a16b15611443870d0932152066f;hp=42a3f89ba8236ae6b88407c876fd9b53a094d310;hpb=ec1df37a1940063dc0dbc45ad2dab638bdc92c0d;p=dcpomatic.git diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index 42a3f89ba..ba4c7cfdc 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -23,7 +23,6 @@ #include #include #include - #undef None #undef Success @@ -39,6 +38,10 @@ public: } void update (); + bool vsync_enabled () const { + return _vsync_enabled; + } + private: void paint (); void draw (); @@ -47,4 +50,5 @@ private: wxGLContext* _context; GLuint _id; boost::optional _size; + bool _vsync_enabled; };