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
ada3e059
Commit
ada3e059
authored
Aug 26, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Remove stray tabs.
parent
d4e167df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
directx.c
dlls/d3d9/directx.c
+13
-12
device.c
dlls/d3d9/tests/device.c
+5
-5
No files found.
dlls/d3d9/directx.c
View file @
ada3e059
...
...
@@ -176,9 +176,9 @@ static HRESULT WINAPI IDirect3D9Impl_GetAdapterDisplayMode(LPDIRECT3D9EX iface,
return
hr
;
}
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDeviceType
(
LPDIRECT3D9EX
iface
,
UINT
Adapter
,
D3DDEVTYPE
CheckType
,
D3DFORMAT
DisplayFormat
,
D3DFORMAT
BackBufferFormat
,
BOOL
Windowed
)
{
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDeviceType
(
IDirect3D9Ex
*
iface
,
UINT
Adapter
,
D3DDEVTYPE
CheckType
,
D3DFORMAT
DisplayFormat
,
D3DFORMAT
BackBufferFormat
,
BOOL
Windowed
)
{
IDirect3D9Impl
*
This
=
(
IDirect3D9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d, %d, %d, %d, %s
\n
"
,
This
,
Adapter
,
CheckType
,
DisplayFormat
,
...
...
@@ -191,9 +191,9 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceType(LPDIRECT3D9EX iface,
return
hr
;
}
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDeviceFormat
(
LPDIRECT3D9EX
ifac
e
,
UINT
Adapter
,
D3DDEVTYPE
DeviceType
,
D3DFORMAT
AdapterFormat
,
DWORD
Usage
,
D3DRESOURCETYPE
RType
,
D3DFORMAT
CheckFormat
)
{
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDeviceFormat
(
IDirect3D9Ex
*
iface
,
UINT
Adapter
,
D3DDEVTYPE
DeviceTyp
e
,
D3DFORMAT
AdapterFormat
,
DWORD
Usage
,
D3DRESOURCETYPE
RType
,
D3DFORMAT
CheckFormat
)
{
IDirect3D9Impl
*
This
=
(
IDirect3D9Impl
*
)
iface
;
HRESULT
hr
;
WINED3DRESOURCETYPE
WineD3DRType
;
...
...
@@ -229,9 +229,10 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceFormat(LPDIRECT3D9EX iface,
return
hr
;
}
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDeviceMultiSampleType
(
LPDIRECT3D9EX
iface
,
UINT
Adapter
,
D3DDEVTYPE
DeviceType
,
D3DFORMAT
SurfaceFormat
,
BOOL
Windowed
,
D3DMULTISAMPLE_TYPE
MultiSampleType
,
DWORD
*
pQualityLevels
)
{
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDeviceMultiSampleType
(
IDirect3D9Ex
*
iface
,
UINT
Adapter
,
D3DDEVTYPE
DeviceType
,
D3DFORMAT
SurfaceFormat
,
BOOL
Windowed
,
D3DMULTISAMPLE_TYPE
MultiSampleType
,
DWORD
*
pQualityLevels
)
{
IDirect3D9Impl
*
This
=
(
IDirect3D9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"%p
\n
"
,
This
);
...
...
@@ -243,9 +244,9 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceMultiSampleType(LPDIRECT3D9EX if
return
hr
;
}
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDepthStencilMatch
(
LPDIRECT3D9EX
iface
,
UINT
Adapter
,
D3DDEVTYPE
DeviceType
,
D3DFORMAT
AdapterFormat
,
D3DFORMAT
RenderTargetFormat
,
D3DFORMAT
DepthStencilFormat
)
{
static
HRESULT
WINAPI
IDirect3D9Impl_CheckDepthStencilMatch
(
IDirect3D9Ex
*
iface
,
UINT
Adapter
,
D3DDEVTYPE
DeviceType
,
D3DFORMAT
AdapterFormat
,
D3DFORMAT
RenderTargetFormat
,
D3DFORMAT
DepthStencilFormat
)
{
IDirect3D9Impl
*
This
=
(
IDirect3D9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"%p
\n
"
,
This
);
...
...
dlls/d3d9/tests/device.c
View file @
ada3e059
...
...
@@ -388,7 +388,7 @@ static void test_refcount(void)
D3DVERTEXELEMENT9
decl
[]
=
{
D3DDECL_END
()
D3DDECL_END
()
};
static
DWORD
simple_ps
[]
=
{
0xFFFF0101
,
/* ps_1_1 */
0x00000051
,
0xA00F0001
,
0x3F800000
,
0x00000000
,
0x00000000
,
0x00000000
,
/* def c1 = 1.0, 0.0, 0.0, 0.0 */
...
...
@@ -1830,14 +1830,14 @@ static void test_null_stream(void)
hr
=
IDirect3DDevice9_CreateVertexDeclaration
(
device
,
decl_elements
,
&
decl
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_CreateVertexDeclaration failed (0x%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
skip
(
"Vertex declaration handling not possible.
\n
"
);
goto
cleanup
;
skip
(
"Vertex declaration handling not possible.
\n
"
);
goto
cleanup
;
}
hr
=
IDirect3DDevice9_CreateVertexBuffer
(
device
,
12
*
sizeof
(
float
),
0
,
0
,
D3DPOOL_MANAGED
,
&
buffer
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice9_CreateVertexBuffer failed (0x%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
skip
(
"Vertex buffer handling not possible.
\n
"
);
goto
cleanup
;
skip
(
"Vertex buffer handling not possible.
\n
"
);
goto
cleanup
;
}
hr
=
IDirect3DDevice9_SetStreamSource
(
device
,
0
,
buffer
,
0
,
sizeof
(
float
)
*
3
);
...
...
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