summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-12 01:26:47 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-27 13:41:46 +0200
commite9ae050b0b15c91c3f591ad84938e60d271357b3 (patch)
tree334279b2851e5b80068c4bf2669f498c0ca0cbc7 /src/wx/gl_video_view.h
parent4f4561c4b5bb1e8a2fa8e673606d18ffa25aec6c (diff)
Fix GL information fetching.
Diffstat (limited to 'src/wx/gl_video_view.h')
-rw-r--r--src/wx/gl_video_view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index 0186417d2..bac195fb1 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -53,6 +53,10 @@ public:
return _vsync_enabled;
}
+ std::map<GLenum, std::string> information () const {
+ return _information;
+ }
+
private:
void set_image (std::shared_ptr<const Image> image);
void set_image_and_draw ();
@@ -86,4 +90,6 @@ private:
bool _setup_shaders_done = false;
std::shared_ptr<wxTimer> _timer;
+
+ std::map<GLenum, std::string> _information;
};