X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0573e8eb0096192335c61ddf7f4895d98c89813..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/include/wx/gtk/glcanvas.h diff --git a/include/wx/gtk/glcanvas.h b/include/wx/gtk/glcanvas.h index 30a548f8fa..596f76a7d9 100644 --- a/include/wx/gtk/glcanvas.h +++ b/include/wx/gtk/glcanvas.h @@ -160,7 +160,9 @@ public: *m_sharedContext; wxGLCanvas *m_sharedContextOf; void *m_vi; // actually an XVisualInfo* + GLXFBConfig *m_fbc; bool m_canFreeVi; + bool m_canFreeFBC; GtkWidget *m_glWidget; bool m_exposed; @@ -169,7 +171,12 @@ public: // caller is reponsible for using XFree() to deallocate // the returned structure. static void* ChooseGLVisual(int *attribList); + static void* ChooseGLFBC(int *attribList); + static void GetGLAttribListFromWX(int *wx_attribList, int *gl_attribList ); + static void QueryGLXVersion(); + static int GetGLXVersion(); + static int m_glxVersion; private: DECLARE_EVENT_TABLE() DECLARE_CLASS(wxGLCanvas)