1st attempt to fix opengl initialization on linux

This commit is contained in:
Enrico Turri 2018-06-04 13:15:28 +02:00
parent adca3035f9
commit ac47ba5864
7 changed files with 119 additions and 51 deletions

View file

@ -545,7 +545,10 @@ public:
static bool remove_canvas(wxGLCanvas* canvas);
static void remove_all_canvases();
static bool init(wxGLCanvas* canvas, bool useVBOs);
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
static bool init(wxGLCanvas* canvas);
// static bool init(wxGLCanvas* canvas, bool useVBOs);
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
static bool is_shown_on_screen(wxGLCanvas* canvas);