Uncommented Brian Vitors stuff...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f83b65f570
commit
e5804ce70a
@ -262,8 +262,13 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
}
|
||||||
//Brian Victor's patch (X11 can't change bit depth yet), here for reference
|
|
||||||
|
|
||||||
|
#else // !HAVE_X11_EXTENSIONS_XF86VMODE_H
|
||||||
|
|
||||||
|
wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
|
||||||
|
{
|
||||||
Display *disp = (Display*)wxGetDisplay();
|
Display *disp = (Display*)wxGetDisplay();
|
||||||
int count_return;
|
int count_return;
|
||||||
int* depths = XListDepths(disp, 0, &count_return);
|
int* depths = XListDepths(disp, 0, &count_return);
|
||||||
@ -277,16 +282,6 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return modes;
|
return modes;
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#else // !HAVE_X11_EXTENSIONS_XF86VMODE_H
|
|
||||||
|
|
||||||
wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
|
|
||||||
{
|
|
||||||
// Not implemented
|
|
||||||
return wxArrayVideoModes();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxVideoMode wxDisplay::GetCurrentMode() const
|
wxVideoMode wxDisplay::GetCurrentMode() const
|
||||||
|
Loading…
Reference in New Issue
Block a user