wxMac has wxGLContext.SetCurrent now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,9 +48,7 @@ public:
|
|||||||
wxGLContext(wxGLCanvas *win, const wxGLContext* other = NULL);
|
wxGLContext(wxGLCanvas *win, const wxGLContext* other = NULL);
|
||||||
~wxGLContext();
|
~wxGLContext();
|
||||||
|
|
||||||
#ifndef __WXMAC__
|
|
||||||
void SetCurrent(const wxGLCanvas& win);
|
void SetCurrent(const wxGLCanvas& win);
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
@@ -139,6 +137,17 @@ public:
|
|||||||
wxGLContext* GetContext();
|
wxGLContext* GetContext();
|
||||||
void SetCurrent();
|
void SetCurrent();
|
||||||
|
|
||||||
|
#ifdef __WXGTK__
|
||||||
|
bool InitVisual(const int *attribList);
|
||||||
|
|
||||||
|
// What about these?
|
||||||
|
// // return GLX version: 13 means 1.3 &c
|
||||||
|
// static int GetGLXVersion();
|
||||||
|
|
||||||
|
// // get the X11 handle of this window
|
||||||
|
// virtual Window GetXWindow() const = 0;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
// void SetupPixelFormat(int *attribList = NULL);
|
// void SetupPixelFormat(int *attribList = NULL);
|
||||||
|
Reference in New Issue
Block a user