projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More accurate reporting of whether vsync is enabled.
[dcpomatic.git]
/
src
/
wx
/
gl_video_view.h
diff --git
a/src/wx/gl_video_view.h
b/src/wx/gl_video_view.h
index c10f32335ec627433c12d50195354095dca6722f..ba4c7cfdc92df3a32afbc9642f3de5d8264b8fdc 100644
(file)
--- 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;
};