summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-25 21:24:03 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit4f0575fcb518d959e8dcf581ec8181609782b4ef (patch)
treefc716a0373afee31fae9071cb6ffe80378001b10 /src/wx/gl_video_view.h
parent1d796edf59da644e91bd443505fb76e0397a1439 (diff)
Use glTexSubImage2D when possible, as suggested by https://www.khronos.org/opengl/wiki/Common_Mistakes
Diffstat (limited to 'src/wx/gl_video_view.h')
-rw-r--r--src/wx/gl_video_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index 827b12861..2f3c8c2a1 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -66,6 +66,7 @@ private:
GLuint _id;
boost::optional<dcp::Size> _size;
+ bool _have_storage;
bool _vsync_enabled;
boost::thread* _thread;