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
a02f93de
Commit
a02f93de
authored
Dec 07, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove the redundant "adapterNo" field from the device.
parent
aed85222
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
device.c
dlls/wined3d/device.c
+1
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/device.c
View file @
a02f93de
...
...
@@ -4419,7 +4419,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetBackBuffer(IWineD3DDevice *iface, UI
static
HRESULT
WINAPI
IWineD3DDeviceImpl_GetDeviceCaps
(
IWineD3DDevice
*
iface
,
WINED3DCAPS
*
pCaps
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
WARN
(
"(%p) : stub, calling idirect3d for now
\n
"
,
This
);
return
IWineD3D_GetDeviceCaps
(
This
->
wineD3D
,
This
->
adapter
No
,
This
->
devType
,
pCaps
);
return
IWineD3D_GetDeviceCaps
(
This
->
wineD3D
,
This
->
adapter
->
ordinal
,
This
->
devType
,
pCaps
);
}
static
HRESULT
WINAPI
IWineD3DDeviceImpl_GetDisplayMode
(
IWineD3DDevice
*
iface
,
UINT
iSwapChain
,
WINED3DDISPLAYMODE
*
pMode
)
{
...
...
@@ -7332,7 +7332,6 @@ HRESULT device_init(IWineD3DDeviceImpl *device, IWineD3DImpl *wined3d,
device
->
createParms
.
hFocusWindow
=
focus_window
;
device
->
createParms
.
BehaviorFlags
=
flags
;
device
->
adapterNo
=
adapter_idx
;
device
->
devType
=
device_type
;
for
(
i
=
0
;
i
<
PATCHMAP_SIZE
;
++
i
)
list_init
(
&
device
->
patches
[
i
]);
...
...
dlls/wined3d/wined3d_private.h
View file @
a02f93de
...
...
@@ -1513,7 +1513,6 @@ struct IWineD3DDeviceImpl
/* Internal use fields */
WINED3DDEVICE_CREATION_PARAMETERS
createParms
;
UINT
adapterNo
;
WINED3DDEVTYPE
devType
;
IWineD3DSwapChain
**
swapchains
;
...
...
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