Browse Source

dx_pick_best_scrnres false after init

cxgeorge 23 years ago
parent
commit
9f65686c35
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/wdxdisplay8/wdxGraphicsWindow8.cxx

+ 2 - 0
panda/src/wdxdisplay8/wdxGraphicsWindow8.cxx

@@ -3209,6 +3209,8 @@ void wdxGraphicsWindowGroup::initWindowGroup(void) {
         _windows[i]->_dxgsg->SetDXReady(true);
     }
 
+    dx_pick_best_screenres = false;   // only want to do this on startup, not resize
+
   #ifdef DINPUT_DEBUG_POLL
     if(dx_use_joystick) {
         _pDInputInfo = new DInput8Info;