Skip to content

Commit f4b6566

Browse files
committed
Fix debug window.
1 parent 9abf32b commit f4b6566

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/xrCore/xrDebug.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,7 @@ void xrDebug::Fail(bool& ignoreAlways, const ErrorLocation& loc, const char* exp
235235
else
236236
{
237237
#ifdef USE_OWN_ERROR_MESSAGE_WINDOW
238-
int result = MessageBox(
239-
GetTopWindow(NULL), assertionInfo, "Fatal error", MB_CANCELTRYCONTINUE | MB_ICONERROR | MB_SYSTEMMODAL);
238+
int result = MessageBox(NULL, assertionInfo, "Fatal error", MB_CANCELTRYCONTINUE | MB_ICONERROR | MB_SYSTEMMODAL);
240239
switch (result)
241240
{
242241
case IDCANCEL:

0 commit comments

Comments
 (0)