DXGL r518 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r517
|
r518
|
r519
>
Date:
12:55, 6 September 2014
Author:
admin
Status:
new
Tags:
Comment:
Add a trace message when the CTRL+Break hotkey fails to register, to indicate likely DDraw resource leaks.
Modified paths:
/ddraw/glRenderWindow.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glRenderWindow.cpp
—
—
@@ -109,7 +109,11 @@
110
110
}
111
111
#ifdef _DEBUG
112
112
if(RegisterHotKey(hWnd,1,MOD_CONTROL,VK_CANCEL)) hotkeyregistered = true;
113
- else Beep(120,1000);
113
+ else
114
+ {
115
+ TRACE_STRING("Failed to register hotkey.\n");
116
+ Beep(120, 1000);
117
+ }
114
118
#endif
115
119
SetEvent(ReadyEvent);
116
120
while((GetMessage(&Msg, NULL, 0, 0) > 0) && !dead)
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version