compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -229,10 +229,10 @@ bool wxDisplayImplMacOSX::ChangeMode( const wxVideoMode& mode )
|
|||||||
boolean_t bExactMatch;
|
boolean_t bExactMatch;
|
||||||
CFDictionaryRef theCGMode = CGDisplayBestModeForParametersAndRefreshRate(
|
CFDictionaryRef theCGMode = CGDisplayBestModeForParametersAndRefreshRate(
|
||||||
m_id,
|
m_id,
|
||||||
(size_t)mode.bpp,
|
(size_t)mode.GetDepth(),
|
||||||
(size_t)mode.w,
|
(size_t)mode.GetWidth(),
|
||||||
(size_t)mode.h,
|
(size_t)mode.GetHeight(),
|
||||||
(double)mode.refresh,
|
(double)mode.GetRefresh(),
|
||||||
&bExactMatch );
|
&bExactMatch );
|
||||||
|
|
||||||
bool bOK = bExactMatch;
|
bool bOK = bExactMatch;
|
||||||
|
Reference in New Issue
Block a user