swr: [rasterizer common] foreground win32 assert dialog
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 3 May 2016 17:45:03 +0000 (11:45 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 19 May 2016 21:25:24 +0000 (16:25 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp

index 0bffd2c..49587d0 100644 (file)
@@ -211,7 +211,7 @@ bool SwrAssert(
                 "\n\n*** NO DEBUGGER DETECTED ***\n\nPressing \"Try Again\" will cause a program crash!");
         }
 
-        retval = MessageBoxA(nullptr, msgBuf, "Assert Failed", MB_CANCELTRYCONTINUE | MB_ICONEXCLAMATION);
+        retval = MessageBoxA(nullptr, msgBuf, "Assert Failed", MB_CANCELTRYCONTINUE | MB_ICONEXCLAMATION | MB_SETFOREGROUND);
 
         switch (retval)
         {