From: Tim Rowley Date: Tue, 3 May 2016 17:45:03 +0000 (-0600) Subject: swr: [rasterizer common] foreground win32 assert dialog X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2031baffb592cb06e844d76cdaef9aab5c43b259;p=mesa.git swr: [rasterizer common] foreground win32 assert dialog Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp b/src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp index 0bffd2c8000..49587d097c0 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) {