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
8678e890
Commit
8678e890
authored
Nov 29, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Avoid LPD3DXEFFECTPOOL.
parent
a6db6688
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
effect.c
dlls/d3dx9_36/effect.c
+2
-2
d3dx9effect.h
include/d3dx9effect.h
+2
-2
No files found.
dlls/d3dx9_36/effect.c
View file @
8678e890
...
...
@@ -3406,7 +3406,7 @@ static HRESULT WINAPI ID3DXEffectImpl_SetArrayRange(ID3DXEffect *iface, D3DXHAND
}
/*** ID3DXEffect methods ***/
static
HRESULT
WINAPI
ID3DXEffectImpl_GetPool
(
ID3DXEffect
*
iface
,
LPD3DXEFFECTPOOL
*
pool
)
static
HRESULT
WINAPI
ID3DXEffectImpl_GetPool
(
ID3DXEffect
*
iface
,
ID3DXEffectPool
*
*
pool
)
{
struct
ID3DXEffectImpl
*
This
=
impl_from_ID3DXEffect
(
iface
);
...
...
@@ -5969,7 +5969,7 @@ static const struct ID3DXEffectPoolVtbl ID3DXEffectPool_Vtbl =
ID3DXEffectPoolImpl_Release
};
HRESULT
WINAPI
D3DXCreateEffectPool
(
LPD3DXEFFECTPOOL
*
pool
)
HRESULT
WINAPI
D3DXCreateEffectPool
(
ID3DXEffectPool
*
*
pool
)
{
struct
ID3DXEffectPoolImpl
*
object
;
...
...
include/d3dx9effect.h
View file @
8678e890
...
...
@@ -258,7 +258,7 @@ DECLARE_INTERFACE_(ID3DXEffect, ID3DXBaseEffect)
STDMETHOD
(
GetVertexShader
)(
THIS_
D3DXHANDLE
parameter
,
struct
IDirect3DVertexShader9
**
shader
)
PURE
;
STDMETHOD
(
SetArrayRange
)(
THIS_
D3DXHANDLE
parameter
,
UINT
start
,
UINT
end
)
PURE
;
/*** ID3DXEffect methods ***/
STDMETHOD
(
GetPool
)(
THIS_
LPD3DXEFFECTPOOL
*
pool
)
PURE
;
STDMETHOD
(
GetPool
)(
THIS_
ID3DXEffectPool
**
pool
)
PURE
;
STDMETHOD
(
SetTechnique
)(
THIS_
D3DXHANDLE
technique
)
PURE
;
STDMETHOD_
(
D3DXHANDLE
,
GetCurrentTechnique
)(
THIS
)
PURE
;
STDMETHOD
(
ValidateTechnique
)(
THIS_
D3DXHANDLE
technique
)
PURE
;
...
...
@@ -363,7 +363,7 @@ DECLARE_INTERFACE_(ID3DXEffectCompiler, ID3DXBaseEffect)
extern
"C"
{
#endif
HRESULT
WINAPI
D3DXCreateEffectPool
(
LPD3DXEFFECTPOOL
*
pool
);
HRESULT
WINAPI
D3DXCreateEffectPool
(
ID3DXEffectPool
**
pool
);
HRESULT
WINAPI
D3DXCreateEffect
(
struct
IDirect3DDevice9
*
device
,
const
void
*
srcdata
,
UINT
srcdatalen
,
const
D3DXMACRO
*
defines
,
struct
ID3DXInclude
*
include
,
DWORD
flags
,
struct
ID3DXEffectPool
*
pool
,
struct
ID3DXEffect
**
effect
,
struct
ID3DXBuffer
**
compilation_errors
);
...
...
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