summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-08 22:05:29 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-08 22:05:29 +0100
commit6e556f95c6352fcd67d2511b9d6ede0c5e43f51d (patch)
treee0a4d2e79b7cb17f901c16b3e519ddebcaf433d1
parent26e41e2e21b1f9f8741ebf058090dd5c156f1c31 (diff)
Add glGetString().
-rw-r--r--src/wx/gl_view.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/gl_view.cc b/src/wx/gl_view.cc
index 1d6ac26d0..c63d5d1a3 100644
--- a/src/wx/gl_view.cc
+++ b/src/wx/gl_view.cc
@@ -51,6 +51,8 @@ GLView::GLView (wxWindow *parent)
glGenTextures (1, &_id);
glBindTexture (GL_TEXTURE_2D, _id);
glPixelStorei (GL_UNPACK_ALIGNMENT, 1);
+
+ cout << glGetString (GL_VERSION) << "\n";
}
GLView::~GLView ()