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
71427548
Commit
71427548
authored
Oct 23, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove the SDKVersion parameter to WineDirect3DCreate().
parent
99a50b53
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
d3d8_main.c
dlls/d3d8/d3d8_main.c
+1
-1
d3d9_main.c
dlls/d3d9/d3d9_main.c
+1
-1
main.c
dlls/ddraw/main.c
+1
-1
wined3d_main.c
dlls/wined3d/wined3d_main.c
+1
-1
wined3d_interface.h
include/wine/wined3d_interface.h
+1
-1
No files found.
dlls/d3d8/d3d8_main.c
View file @
71427548
...
...
@@ -53,7 +53,7 @@ IDirect3D8* WINAPI Direct3DCreate8(UINT SDKVersion) {
object
->
lpVtbl
=
&
Direct3D8_Vtbl
;
object
->
ref
=
1
;
object
->
WineD3D
=
WineDirect3DCreate
(
SDKVersion
,
8
,
(
IUnknown
*
)
object
);
object
->
WineD3D
=
WineDirect3DCreate
(
8
,
(
IUnknown
*
)
object
);
TRACE
(
"Created Direct3D object @ %p, WineObj @ %p
\n
"
,
object
,
object
->
WineD3D
);
LeaveCriticalSection
(
&
d3d8_cs
);
...
...
dlls/d3d9/d3d9_main.c
View file @
71427548
...
...
@@ -48,7 +48,7 @@ IDirect3D9* WINAPI Direct3DCreate9(UINT SDKVersion) {
object
->
lpVtbl
=
&
Direct3D9_Vtbl
;
object
->
ref
=
1
;
EnterCriticalSection
(
&
d3d9_cs
);
object
->
WineD3D
=
WineDirect3DCreate
(
SDKVersion
,
9
,
(
IUnknown
*
)
object
);
object
->
WineD3D
=
WineDirect3DCreate
(
9
,
(
IUnknown
*
)
object
);
LeaveCriticalSection
(
&
d3d9_cs
);
TRACE
(
"SDKVersion = %x, Created Direct3D object @ %p, WineObj @ %p
\n
"
,
SDKVersion
,
object
,
object
->
WineD3D
);
...
...
dlls/ddraw/main.c
View file @
71427548
...
...
@@ -206,7 +206,7 @@ DDRAW_Create(const GUID *guid,
* but DirectDraw specific management, like DDSURFACEDESC and DDPIXELFORMAT
* structure handling is handled in this lib.
*/
wineD3D
=
pWineDirect3DCreate
(
0
/* SDKVersion */
,
7
/* DXVersion */
,
(
IUnknown
*
)
This
/* Parent */
);
wineD3D
=
pWineDirect3DCreate
(
7
/* DXVersion */
,
(
IUnknown
*
)
This
/* Parent */
);
if
(
!
wineD3D
)
{
ERR
(
"Failed to initialise WineD3D
\n
"
);
...
...
dlls/wined3d/wined3d_main.c
View file @
71427548
...
...
@@ -48,7 +48,7 @@ wined3d_settings_t wined3d_settings =
FALSE
/* Disable multisampling for now due to Nvidia driver bugs which happens for some users */
};
IWineD3D
*
WINAPI
WineDirect3DCreate
(
UINT
SDKVersion
,
UINT
dxVersion
,
IUnknown
*
parent
)
{
IWineD3D
*
WINAPI
WineDirect3DCreate
(
UINT
dxVersion
,
IUnknown
*
parent
)
{
IWineD3DImpl
*
object
;
if
(
!
InitAdapters
())
{
...
...
include/wine/wined3d_interface.h
View file @
71427548
...
...
@@ -343,7 +343,7 @@ DECLARE_INTERFACE_(IWineD3D, IWineD3DBase)
#endif
/* Define the main WineD3D entrypoint */
IWineD3D
*
WINAPI
WineDirect3DCreate
(
UINT
SDKVersion
,
UINT
dxVersion
,
IUnknown
*
parent
);
IWineD3D
*
WINAPI
WineDirect3DCreate
(
UINT
dxVersion
,
IUnknown
*
parent
);
/*****************************************************************************
* IWineD3DDevice interface
...
...
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