DXGL r560 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r559
|
r560
|
r561
>
Date:
17:57, 26 October 2014
Author:
admin
Status:
new
Tags:
Comment:
Comment out broken code in
r559
Modified paths:
/ddraw/glDirectDraw.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDraw.cpp
—
—
@@ -1425,17 +1425,17 @@
1426
1426
if(hWnd && !IsWindow(hWnd)) TRACE_RET(HRESULT,23,DDERR_INVALIDPARAMS);
1427
1427
if ((dwFlags & DDSCL_EXCLUSIVE) && !hWnd) TRACE_RET(HRESULT, 23, DDERR_INVALIDPARAMS);
1428
1428
if(dwFlags & 0xFFFFE020) TRACE_RET(HRESULT,23,DDERR_INVALIDPARAMS);
1429
- if (((hWnd != this->hWnd) && this->hWnd) || (this->hWnd && (dwFlags & DDSCL_NORMAL)))
1429
+ /*if (((hWnd != this->hWnd) && this->hWnd) || (this->hWnd && (dwFlags & DDSCL_NORMAL)))
1430
1430
{
1431
1431
if (winstyle)
1432
1432
{
1433
1433
SetWindowLongPtrA(hWnd, GWL_STYLE, winstyle);
1434
1434
SetWindowLongPtrA(hWnd, GWL_EXSTYLE, winstyleex);
1435
- //ShowWindow(hWnd, SW_RESTORE);
1435
+ ShowWindow(hWnd, SW_RESTORE);
1436
1436
winstyle = winstyleex = 0;
1437
1437
SetWindowPos(hWnd, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_FRAMECHANGED);
1438
1438
}
1439
- }
1439
+ }*/ // Currently breaks The Settlers IV
1440
1440
this->hWnd = hWnd;
1441
1441
if (!winstyle && !winstyleex)
1442
1442
{
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r559
Adjust fullscreen window management slightly.
admin
16:53, 25 October 2014
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