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
c84b8dbd
Commit
c84b8dbd
authored
Jan 27, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: COM cleanup for the ID3DXInclude iface.
parent
b88e09e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
shader.c
dlls/d3dx9_36/shader.c
+7
-7
No files found.
dlls/d3dx9_36/shader.c
View file @
c84b8dbd
...
...
@@ -266,7 +266,7 @@ static const struct ID3DXIncludeVtbl D3DXInclude_Vtbl = {
};
struct
D3DXIncludeImpl
{
const
ID3DXIncludeVtbl
*
lpVtbl
;
ID3DXInclude
ID3DXInclude_iface
;
};
HRESULT
WINAPI
D3DXAssembleShaderFromFileA
(
LPCSTR
filename
,
...
...
@@ -310,8 +310,8 @@ HRESULT WINAPI D3DXAssembleShaderFromFileW(LPCWSTR filename,
if
(
!
include
)
{
includefromfile
.
lpVtbl
=
&
D3DXInclude_Vtbl
;
include
=
(
LPD3DXINCLUDE
)
&
includefromfil
e
;
includefromfile
.
ID3DXInclude_iface
.
lpVtbl
=
&
D3DXInclude_Vtbl
;
include
=
&
includefromfile
.
ID3DXInclude_ifac
e
;
}
hr
=
D3DXAssembleShader
(
buffer
,
len
,
defines
,
include
,
flags
,
...
...
@@ -433,8 +433,8 @@ HRESULT WINAPI D3DXCompileShaderFromFileW(LPCWSTR filename,
if
(
!
include
)
{
includefromfile
.
lpVtbl
=
&
D3DXInclude_Vtbl
;
include
=
(
LPD3DXINCLUDE
)
&
includefromfil
e
;
includefromfile
.
ID3DXInclude_iface
.
lpVtbl
=
&
D3DXInclude_Vtbl
;
include
=
&
includefromfile
.
ID3DXInclude_ifac
e
;
}
filename_len
=
WideCharToMultiByte
(
CP_ACP
,
0
,
filename
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
...
...
@@ -557,8 +557,8 @@ HRESULT WINAPI D3DXPreprocessShaderFromFileW(LPCWSTR filename,
if
(
!
include
)
{
includefromfile
.
lpVtbl
=
&
D3DXInclude_Vtbl
;
include
=
(
LPD3DXINCLUDE
)
&
includefromfil
e
;
includefromfile
.
ID3DXInclude_iface
.
lpVtbl
=
&
D3DXInclude_Vtbl
;
include
=
&
includefromfile
.
ID3DXInclude_ifac
e
;
}
hr
=
D3DPreprocess
(
buffer
,
len
,
NULL
,
...
...
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