summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-05-03 11:45:03 -0600
committerTim Rowley <[email protected]>2016-05-19 16:25:24 -0500
commit2031baffb592cb06e844d76cdaef9aab5c43b259 (patch)
tree495b5b57817626aa63d876dcdd20e5ae9ec3c1a6
parent33d4c2c7987559fc7523b5bf3a782d3b949cdcb2 (diff)
swr: [rasterizer common] foreground win32 assert dialog
Reviewed-by: Bruce Cherniak <[email protected]>
-rw-r--r--src/gallium/drivers/swr/rasterizer/common/swr_assert.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{