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
27209e60
Commit
27209e60
authored
Mar 27, 2011
by
Rico Schüller
Committed by
Alexandre Julliard
Mar 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Fix some style issues.
parent
2f3e9673
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
effect.c
dlls/d3dx9_36/effect.c
+13
-12
No files found.
dlls/d3dx9_36/effect.c
View file @
27209e60
...
...
@@ -2535,20 +2535,21 @@ HRESULT WINAPI D3DXCreateEffectCompiler(LPCSTR srcdata,
static
const
struct
ID3DXEffectPoolVtbl
ID3DXEffectPool_Vtbl
;
typedef
struct
ID3DXEffectPoolImpl
{
struct
ID3DXEffectPoolImpl
{
ID3DXEffectPool
ID3DXEffectPool_iface
;
LONG
ref
;
}
ID3DXEffectPoolImpl
;
};
static
inline
ID3DXEffectPoolImpl
*
impl_from_ID3DXEffectPool
(
ID3DXEffectPool
*
iface
)
static
inline
struct
ID3DXEffectPoolImpl
*
impl_from_ID3DXEffectPool
(
ID3DXEffectPool
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
ID3DXEffectPoolImpl
,
ID3DXEffectPool_iface
);
return
CONTAINING_RECORD
(
iface
,
struct
ID3DXEffectPoolImpl
,
ID3DXEffectPool_iface
);
}
/*** IUnknown methods ***/
static
HRESULT
WINAPI
ID3DXEffectPoolImpl_QueryInterface
(
ID3DXEffectPool
*
iface
,
REFIID
riid
,
void
**
object
)
static
HRESULT
WINAPI
ID3DXEffectPoolImpl_QueryInterface
(
ID3DXEffectPool
*
iface
,
REFIID
riid
,
void
**
object
)
{
ID3DXEffectPoolImpl
*
This
=
impl_from_ID3DXEffectPool
(
iface
);
struct
ID3DXEffectPoolImpl
*
This
=
impl_from_ID3DXEffectPool
(
iface
);
TRACE
(
"(%p)->(%s, %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
object
);
...
...
@@ -2565,18 +2566,18 @@ static HRESULT WINAPI ID3DXEffectPoolImpl_QueryInterface(ID3DXEffectPool* iface,
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
ID3DXEffectPoolImpl_AddRef
(
ID3DXEffectPool
*
iface
)
static
ULONG
WINAPI
ID3DXEffectPoolImpl_AddRef
(
ID3DXEffectPool
*
iface
)
{
ID3DXEffectPoolImpl
*
This
=
impl_from_ID3DXEffectPool
(
iface
);
struct
ID3DXEffectPoolImpl
*
This
=
impl_from_ID3DXEffectPool
(
iface
);
TRACE
(
"(%p)->(): AddRef from %u
\n
"
,
This
,
This
->
ref
);
return
InterlockedIncrement
(
&
This
->
ref
);
}
static
ULONG
WINAPI
ID3DXEffectPoolImpl_Release
(
ID3DXEffectPool
*
iface
)
static
ULONG
WINAPI
ID3DXEffectPoolImpl_Release
(
ID3DXEffectPool
*
iface
)
{
ID3DXEffectPoolImpl
*
This
=
impl_from_ID3DXEffectPool
(
iface
);
struct
ID3DXEffectPoolImpl
*
This
=
impl_from_ID3DXEffectPool
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(): Release from %u
\n
"
,
This
,
ref
+
1
);
...
...
@@ -2595,9 +2596,9 @@ static const struct ID3DXEffectPoolVtbl ID3DXEffectPool_Vtbl =
ID3DXEffectPoolImpl_Release
};
HRESULT
WINAPI
D3DXCreateEffectPool
(
LPD3DXEFFECTPOOL
*
pool
)
HRESULT
WINAPI
D3DXCreateEffectPool
(
LPD3DXEFFECTPOOL
*
pool
)
{
ID3DXEffectPoolImpl
*
object
;
struct
ID3DXEffectPoolImpl
*
object
;
TRACE
(
"(%p)
\n
"
,
pool
);
...
...
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