Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ed366f22
Commit
ed366f22
authored
Jul 31, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Fix compilation on systems that don't support nameless unions.
parent
2c12c17a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
provider.c
dlls/dxdiagn/provider.c
+4
-2
No files found.
dlls/dxdiagn/provider.c
View file @
ed366f22
...
...
@@ -20,9 +20,9 @@
*/
#include "config.h"
#include "wine/debug.h"
#define COBJMACROS
#define NONAMELESSUNION
#include "dxdiag_private.h"
#include "wine/unicode.h"
#include "winver.h"
...
...
@@ -33,6 +33,8 @@
#include "mmddk.h"
#include <ddraw.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dxdiag
);
/* IDxDiagProvider IUnknown parts follow: */
...
...
@@ -478,7 +480,7 @@ static HRESULT DXDiag_InitDXDiagDisplayContainer(IDxDiagContainer* pSubCont)
if
(
surface_descr
.
dwFlags
&
DDSD_HEIGHT
)
add_prop_ui4
(
pDisplayAdapterSubCont
,
dwHeight
,
surface_descr
.
dwHeight
);
if
(
surface_descr
.
dwFlags
&
DDSD_PIXELFORMAT
)
add_prop_ui4
(
pDisplayAdapterSubCont
,
dwBpp
,
surface_descr
.
ddpfPixelFormat
.
dwRGBBitCount
);
add_prop_ui4
(
pDisplayAdapterSubCont
,
dwBpp
,
surface_descr
.
u4
.
ddpfPixelFormat
.
u1
.
dwRGBBitCount
);
}
add_prop_str
(
pDisplayAdapterSubCont
,
szVendorId
,
szEmpty
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment