wxMac's glcanvas doesn't have the new API changes yet...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,7 +60,9 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
~wxGLContext();
|
~wxGLContext();
|
||||||
|
|
||||||
|
#ifndef __WXMAC__
|
||||||
void SetCurrent(const wxGLCanvas& win);
|
void SetCurrent(const wxGLCanvas& win);
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
@@ -129,8 +131,11 @@ public:
|
|||||||
int *attribList = NULL,
|
int *attribList = NULL,
|
||||||
const wxPalette& palette = wxNullPalette ));
|
const wxPalette& palette = wxNullPalette ));
|
||||||
|
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
void SetCurrent();
|
||||||
|
#else
|
||||||
void SetCurrent(const wxGLContext& RC);
|
void SetCurrent(const wxGLContext& RC);
|
||||||
|
#endif
|
||||||
void SetColour(const wxString& colour);
|
void SetColour(const wxString& colour);
|
||||||
void SwapBuffers();
|
void SwapBuffers();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user