fix wxDisplay initialization (patch 735303)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -297,7 +297,7 @@ static void InitDisplays()
|
||||
|
||||
gs_displays = new wxDisplayInfoArray();
|
||||
|
||||
if ( gs_useDirectX && !DoInitDirectX() )
|
||||
if ( !gs_useDirectX || !DoInitDirectX() )
|
||||
{
|
||||
// either we were told not to try to use DirectX or fall back to std
|
||||
// functions if DirectX method failed
|
||||
|
Reference in New Issue
Block a user