Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
66930554
Commit
66930554
authored
Jun 08, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Store the adapter driver and description in the adapter.
parent
a460a2df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
directx.c
dlls/wined3d/directx.c
+4
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-0
No files found.
dlls/wined3d/directx.c
View file @
66930554
...
...
@@ -1316,8 +1316,8 @@ static HRESULT WINAPI IWineD3DImpl_GetAdapterIdentifier(IWineD3D *iface, UINT Ad
/* Return the information requested */
TRACE_
(
d3d_caps
)(
"device/Vendor Name and Version detection using FillGLCaps
\n
"
);
strcpy
(
pIdentifier
->
Driver
,
"Display"
);
strcpy
(
pIdentifier
->
Description
,
"Direct3D HAL"
);
strcpy
(
pIdentifier
->
Driver
,
Adapters
[
Adapter
].
driver
);
strcpy
(
pIdentifier
->
Description
,
Adapters
[
Adapter
].
description
);
/* Note dx8 doesn't supply a DeviceName */
if
(
NULL
!=
pIdentifier
->
DeviceName
)
strcpy
(
pIdentifier
->
DeviceName
,
"
\\\\
.
\\
DISPLAY"
);
/* FIXME: May depend on desktop? */
...
...
@@ -2621,6 +2621,8 @@ BOOL InitAdapters(void) {
HeapFree
(
GetProcessHeap
(),
0
,
Adapters
);
return
FALSE
;
}
Adapters
[
0
].
driver
=
"Display"
;
Adapters
[
0
].
description
=
"Direct3D HAL"
;
}
numAdapters
=
1
;
TRACE
(
"%d adapters successfully initialized
\n
"
,
numAdapters
);
...
...
dlls/wined3d/wined3d_private.h
View file @
66930554
...
...
@@ -577,6 +577,8 @@ struct WineD3DAdapter
POINT
monitorPoint
;
Display
*
display
;
WineD3D_GL_Info
gl_info
;
const
char
*
driver
;
const
char
*
description
;
};
extern
BOOL
InitAdapters
(
void
);
...
...
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