From 2031baffb592cb06e844d76cdaef9aab5c43b259 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Tue, 3 May 2016 11:45:03 -0600 Subject: [PATCH] swr: [rasterizer common] foreground win32 assert dialog Reviewed-by: Bruce Cherniak --- 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 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) { -- 2.30.2