recreate the window if FSAA is requested (changeset_r54022_Fix.patch from #9145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,8 +134,18 @@ protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
// the real window creation function, Create() may reuse it twice as we may
|
||||
// need to create an OpenGL window to query the available extensions and
|
||||
// then potentially delete and recreate it with another pixel format
|
||||
bool CreateWindow(wxWindow *parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxGLCanvasName);
|
||||
|
||||
// set up the pixel format using the given attributes and palette
|
||||
bool DoSetup(const int *attribList);
|
||||
int DoSetup(PIXELFORMATDESCRIPTOR &pfd, const int *attribList);
|
||||
|
||||
|
||||
// HDC for this window, we keep it all the time
|
||||
|
Reference in New Issue
Block a user