mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
support retina display
This commit is contained in:

committed by
Matthew Parlane

parent
e3eebdf591
commit
3aa9901618
@ -252,6 +252,14 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
|
||||
wxFlexGridSizer* const szr_display = new wxFlexGridSizer(2, 5, 5);
|
||||
|
||||
{
|
||||
|
||||
#if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
|
||||
NSView *view = (NSView *) parent->GetHandle();
|
||||
NSWindow *window = [view window];
|
||||
|
||||
if (![window respondsToSelector:@selector(toggleFullScreen:)])
|
||||
#endif
|
||||
|
||||
// display resolution
|
||||
{
|
||||
wxArrayString res_list = GetListOfResolutions();
|
||||
|
Reference in New Issue
Block a user