From 8cb8f411cb8a758906e38faa1c554fac33f13ef8 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 29 May 2003 22:54:51 +0000 Subject: [PATCH] comment out some exit() calls --- panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx b/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx index 8190da3da0..f4fa805b7e 100644 --- a/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx +++ b/panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx @@ -4709,7 +4709,10 @@ CheckCooperativeLevel(bool bDoReactivateWindow) { // I think this shouldnt fail unless I've screwed up the PresParams from the original working ones somehow dxgsg8_cat.error() << "CheckCooperativeLevel Reset() failed, hr = " << D3DERRORSTRING(hr); - exit(1); + // drose is commenting out this exit() call; it's getting + // triggered on some actual client hardware (with + // DRIVERINTERNALERROR) but maybe that's ok. + //exit(1); } // BUGBUG: is taking this out wrong?? @@ -4724,7 +4727,9 @@ CheckCooperativeLevel(bool bDoReactivateWindow) { // internal chk, shouldnt fail dxgsg8_cat.error() << "TestCooperativeLevel following Reset() failed, hr = " << D3DERRORSTRING(hr); - exit(1); + + // drose is commenting out this exit() call; maybe it's ok if the above fails. + //exit(1); } _bDXisReady = TRUE;