git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20573
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
gs_displays = new wxDisplayInfoArray();
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
{
// either we were told not to try to use DirectX or fall back to std
// functions if DirectX method failed