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
f93b29b0
Commit
f93b29b0
authored
Jan 11, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi: Remove superfluous pointer casts.
parent
79f49804
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dxgi_main.c
dlls/dxgi/dxgi_main.c
+1
-1
factory.c
dlls/dxgi/factory.c
+1
-1
No files found.
dlls/dxgi/dxgi_main.c
View file @
f93b29b0
...
...
@@ -315,7 +315,7 @@ HRESULT WINAPI DXGID3D10CreateDevice(HMODULE d3d10core, IDXGIFactory *factory, I
goto
fail
;
}
*
device
=
(
IUnknown
*
)
dxgi_device
;
*
device
=
dxgi_device
;
return
hr
;
...
...
dlls/dxgi/factory.c
View file @
f93b29b0
...
...
@@ -131,7 +131,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_EnumAdapters(IWineDXGIFactory *ifa
return
DXGI_ERROR_NOT_FOUND
;
}
*
adapter
=
(
IDXGIAdapter
*
)
This
->
adapters
[
adapter_idx
];
*
adapter
=
This
->
adapters
[
adapter_idx
];
IDXGIAdapter_AddRef
(
*
adapter
);
TRACE
(
"Returning adapter %p
\n
"
,
*
adapter
);
...
...
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