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
555a0607
Commit
555a0607
authored
Feb 27, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Remove spaces before '\n'.
parent
a9665eda
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
device.c
dlls/d3d8/device.c
+8
-8
directx.c
dlls/d3d8/directx.c
+1
-1
No files found.
dlls/d3d8/device.c
View file @
555a0607
...
@@ -125,7 +125,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetDeviceCaps(LPDIRECT3DDEVICE8 iface, D3DCA
...
@@ -125,7 +125,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetDeviceCaps(LPDIRECT3DDEVICE8 iface, D3DCA
HRESULT
hrc
=
D3D_OK
;
HRESULT
hrc
=
D3D_OK
;
WINED3DCAPS
*
pWineCaps
;
WINED3DCAPS
*
pWineCaps
;
TRACE
(
"(%p) : Relay pCaps %p
\n
"
,
This
,
pCaps
);
TRACE
(
"(%p) : Relay pCaps %p
\n
"
,
This
,
pCaps
);
if
(
NULL
==
pCaps
){
if
(
NULL
==
pCaps
){
return
D3DERR_INVALIDCALL
;
return
D3DERR_INVALIDCALL
;
}
}
...
@@ -771,7 +771,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_ApplyStateBlock(LPDIRECT3DDEVICE8 iface, DWO
...
@@ -771,7 +771,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_ApplyStateBlock(LPDIRECT3DDEVICE8 iface, DWO
IDirect3DStateBlock8Impl
*
pSB
=
(
IDirect3DStateBlock8Impl
*
)
Token
;
IDirect3DStateBlock8Impl
*
pSB
=
(
IDirect3DStateBlock8Impl
*
)
Token
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
TRACE
(
"(%p) %p Relay
\n
"
,
This
,
pSB
);
TRACE
(
"(%p) %p Relay
\n
"
,
This
,
pSB
);
return
IWineD3DStateBlock_Apply
(
pSB
->
wineD3DStateBlock
);
return
IWineD3DStateBlock_Apply
(
pSB
->
wineD3DStateBlock
);
}
}
...
@@ -780,7 +780,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_CaptureStateBlock(LPDIRECT3DDEVICE8 iface, D
...
@@ -780,7 +780,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_CaptureStateBlock(LPDIRECT3DDEVICE8 iface, D
IDirect3DStateBlock8Impl
*
pSB
=
(
IDirect3DStateBlock8Impl
*
)
Token
;
IDirect3DStateBlock8Impl
*
pSB
=
(
IDirect3DStateBlock8Impl
*
)
Token
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
TRACE
(
"(%p) %p Relay
\n
"
,
This
,
pSB
);
TRACE
(
"(%p) %p Relay
\n
"
,
This
,
pSB
);
return
IWineD3DStateBlock_Capture
(
pSB
->
wineD3DStateBlock
);
return
IWineD3DStateBlock_Capture
(
pSB
->
wineD3DStateBlock
);
}
}
...
@@ -789,7 +789,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_DeleteStateBlock(LPDIRECT3DDEVICE8 iface, DW
...
@@ -789,7 +789,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_DeleteStateBlock(LPDIRECT3DDEVICE8 iface, DW
IDirect3DStateBlock8Impl
*
pSB
=
(
IDirect3DStateBlock8Impl
*
)
Token
;
IDirect3DStateBlock8Impl
*
pSB
=
(
IDirect3DStateBlock8Impl
*
)
Token
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
TRACE
(
"(%p) Relay
\n
"
,
This
);
while
(
IUnknown_Release
((
IUnknown
*
)
pSB
));
while
(
IUnknown_Release
((
IUnknown
*
)
pSB
));
...
@@ -855,7 +855,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetTexture(LPDIRECT3DDEVICE8 iface, DWORD St
...
@@ -855,7 +855,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetTexture(LPDIRECT3DDEVICE8 iface, DWORD St
IWineD3DBaseTexture_GetParent
(
retTexture
,
(
IUnknown
**
)
ppTexture
);
IWineD3DBaseTexture_GetParent
(
retTexture
,
(
IUnknown
**
)
ppTexture
);
IWineD3DBaseTexture_Release
(
retTexture
);
IWineD3DBaseTexture_Release
(
retTexture
);
}
else
{
}
else
{
FIXME
(
"Call to get texture (%ld) failed (%p)
\n
"
,
Stage
,
retTexture
);
FIXME
(
"Call to get texture (%ld) failed (%p)
\n
"
,
Stage
,
retTexture
);
*
ppTexture
=
NULL
;
*
ppTexture
=
NULL
;
}
}
...
@@ -1080,7 +1080,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetVertexShader(LPDIRECT3DDEVICE8 iface, DWO
...
@@ -1080,7 +1080,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetVertexShader(LPDIRECT3DDEVICE8 iface, DWO
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
HRESULT
hrc
=
D3D_OK
;
HRESULT
hrc
=
D3D_OK
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
TRACE
(
"(%p) : Relay
\n
"
,
This
);
if
(
VS_HIGHESTFIXEDFXF
>=
pShader
)
{
if
(
VS_HIGHESTFIXEDFXF
>=
pShader
)
{
TRACE
(
"Setting FVF, %d %ld
\n
"
,
VS_HIGHESTFIXEDFXF
,
pShader
);
TRACE
(
"Setting FVF, %d %ld
\n
"
,
VS_HIGHESTFIXEDFXF
,
pShader
);
IWineD3DDevice_SetFVF
(
This
->
WineD3DDevice
,
pShader
);
IWineD3DDevice_SetFVF
(
This
->
WineD3DDevice
,
pShader
);
...
@@ -1094,7 +1094,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetVertexShader(LPDIRECT3DDEVICE8 iface, DWO
...
@@ -1094,7 +1094,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetVertexShader(LPDIRECT3DDEVICE8 iface, DWO
/* hrc = IWineD3DDevice_SetVertexShader(This->WineD3DDevice, 0 == shader ? NULL : shader->wineD3DVertexShader); */
/* hrc = IWineD3DDevice_SetVertexShader(This->WineD3DDevice, 0 == shader ? NULL : shader->wineD3DVertexShader); */
}
}
}
}
TRACE
(
"(%p) : returning hr(%lu)
\n
"
,
This
,
hrc
);
TRACE
(
"(%p) : returning hr(%lu)
\n
"
,
This
,
hrc
);
return
hrc
;
return
hrc
;
}
}
...
@@ -1104,7 +1104,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetVertexShader(LPDIRECT3DDEVICE8 iface, DWO
...
@@ -1104,7 +1104,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetVertexShader(LPDIRECT3DDEVICE8 iface, DWO
IWineD3DVertexShader
*
pShader
;
IWineD3DVertexShader
*
pShader
;
HRESULT
hrc
=
D3D_OK
;
HRESULT
hrc
=
D3D_OK
;
TRACE
(
"(%p) : Relay device@%p
\n
"
,
This
,
This
->
WineD3DDevice
);
TRACE
(
"(%p) : Relay device@%p
\n
"
,
This
,
This
->
WineD3DDevice
);
hrc
=
IWineD3DDevice_GetVertexShader
(
This
->
WineD3DDevice
,
&
pShader
);
hrc
=
IWineD3DDevice_GetVertexShader
(
This
->
WineD3DDevice
,
&
pShader
);
if
(
D3D_OK
==
hrc
)
{
if
(
D3D_OK
==
hrc
)
{
if
(
0
!=
pShader
)
{
if
(
0
!=
pShader
)
{
...
...
dlls/d3d8/directx.c
View file @
555a0607
...
@@ -286,7 +286,7 @@ HRESULT WINAPI IDirect3D8Impl_CreateDevice(LPDIRECT3D8 iface, UINT Adapter, D3
...
@@ -286,7 +286,7 @@ HRESULT WINAPI IDirect3D8Impl_CreateDevice(LPDIRECT3D8 iface, UINT Adapter, D3
IDirect3DDevice8Impl
*
object
=
NULL
;
IDirect3DDevice8Impl
*
object
=
NULL
;
WINED3DPRESENT_PARAMETERS
localParameters
;
WINED3DPRESENT_PARAMETERS
localParameters
;
HRESULT
hr
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
TRACE
(
"(%p) Relay
\n
"
,
This
);
/* Check the validity range of the adapter parameter */
/* Check the validity range of the adapter parameter */
if
(
Adapter
>=
IDirect3D8Impl_GetAdapterCount
(
iface
))
{
if
(
Adapter
>=
IDirect3D8Impl_GetAdapterCount
(
iface
))
{
...
...
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