Module: Mesa
Branch: master
Commit: 2031baffb592cb06e844d76cdaef9aab5c43b259
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2031baffb592cb06e844d76cdaef9aab5c43b259

Author: Tim Rowley <timothy.o.row...@intel.com>
Date:   Tue May  3 11:45:03 2016 -0600

swr: [rasterizer common] foreground win32 assert dialog

Reviewed-by: Bruce Cherniak <bruce.chern...@intel.com>

---

 src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp 
b/src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp
index 0bffd2c..49587d0 100644
--- a/src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp
+++ b/src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp
@@ -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)
         {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to