diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-08 23:01:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-08 23:01:07 +0100 |
| commit | c2f6804ccc6a2481e0074fe6fa040de57d6b1c73 (patch) | |
| tree | 29ad6185fcd1e49364a1db6be2b40f69d503165b | |
| parent | 6e556f95c6352fcd67d2511b9d6ede0c5e43f51d (diff) | |
Remove GL version setting attempt.
| -rw-r--r-- | src/wx/gl_view.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/wx/gl_view.cc b/src/wx/gl_view.cc index c63d5d1a3..5159da366 100644 --- a/src/wx/gl_view.cc +++ b/src/wx/gl_view.cc @@ -35,15 +35,8 @@ using std::cout; using boost::shared_ptr; -int const attrib_list[] = { - WX_GL_RGBA, - WX_GL_DOUBLEBUFFER, - WX_GL_MAJOR_VERSION, - 3 -}; - GLView::GLView (wxWindow *parent) - : wxGLCanvas (parent, wxID_ANY, attrib_list, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE) + : wxGLCanvas (parent, wxID_ANY, 0, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE) { _context = new wxGLContext (this); Bind (wxEVT_PAINT, boost::bind(&GLView::paint, this, _1)); |
