From 6e556f95c6352fcd67d2511b9d6ede0c5e43f51d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 8 May 2019 22:05:29 +0100 Subject: Add glGetString(). --- src/wx/gl_view.cc | 2 ++ 1 file changed, 2 insertions(+) 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 () -- cgit v1.2.3