Browse Source

update alt-tab stuff

cxgeorge 24 years ago
parent
commit
0eb668b1ee
1 changed files with 1 additions and 4 deletions
  1. 1 4
      panda/src/dxgsg/dxGraphicsStateGuardian.cxx

+ 1 - 4
panda/src/dxgsg/dxGraphicsStateGuardian.cxx

@@ -5648,11 +5648,8 @@ void DXGraphicsStateGuardian::show_full_screen_frame(void) {
 #endif
 #endif
 
 
       _dx_ready = FALSE;
       _dx_ready = FALSE;
+      _win->update();  // sleep in here, and check for window events
 
 
-      Sleep( 500 ); // Dont consume CPU.
-      throw_event("PandaPaused");   // throw panda event to invoke network-only processing
-
-      _win->process_events();
       hr = _pDD->TestCooperativeLevel();
       hr = _pDD->TestCooperativeLevel();
     }
     }