Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
8a248ecb
Commit
8a248ecb
authored
Jun 08, 2021
by
Alistair Leslie-Hughes
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Avoid implicit cast of interface pointer.
parent
d28217e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
effect.c
dlls/d3d10/effect.c
+5
-5
No files found.
dlls/d3d10/effect.c
View file @
8a248ecb
...
...
@@ -151,7 +151,7 @@ static inline struct d3d10_effect_variable *impl_from_ID3D10EffectVariable(ID3D1
static
inline
struct
d3d10_effect_variable
*
impl_from_ID3D10EffectShaderVariable
(
ID3D10EffectShaderVariable
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
return
CONTAINING_RECORD
(
(
ID3D10EffectVariable
*
)
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
}
static
struct
d3d10_effect_variable
*
d3d10_array_get_element
(
struct
d3d10_effect_variable
*
v
,
...
...
@@ -5862,7 +5862,7 @@ static void read_variable_array_from_buffer(struct d3d10_effect_variable *variab
static
inline
struct
d3d10_effect_variable
*
impl_from_ID3D10EffectScalarVariable
(
ID3D10EffectScalarVariable
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
return
CONTAINING_RECORD
(
(
ID3D10EffectVariable
*
)
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
}
static
BOOL
STDMETHODCALLTYPE
d3d10_effect_scalar_variable_IsValid
(
ID3D10EffectScalarVariable
*
iface
)
...
...
@@ -6200,7 +6200,7 @@ static const struct ID3D10EffectScalarVariableVtbl d3d10_effect_scalar_variable_
static
inline
struct
d3d10_effect_variable
*
impl_from_ID3D10EffectVectorVariable
(
ID3D10EffectVectorVariable
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
return
CONTAINING_RECORD
(
(
ID3D10EffectVariable
*
)
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
}
static
BOOL
STDMETHODCALLTYPE
d3d10_effect_vector_variable_IsValid
(
ID3D10EffectVectorVariable
*
iface
)
...
...
@@ -6689,7 +6689,7 @@ static void read_matrix_variable_array_from_buffer(struct d3d10_effect_variable
static
inline
struct
d3d10_effect_variable
*
impl_from_ID3D10EffectMatrixVariable
(
ID3D10EffectMatrixVariable
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
return
CONTAINING_RECORD
(
(
ID3D10EffectVariable
*
)
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
}
static
BOOL
STDMETHODCALLTYPE
d3d10_effect_matrix_variable_IsValid
(
ID3D10EffectMatrixVariable
*
iface
)
...
...
@@ -7216,7 +7216,7 @@ static void set_shader_resource_variable(ID3D10ShaderResourceView **src, ID3D10S
static
inline
struct
d3d10_effect_variable
*
impl_from_ID3D10EffectShaderResourceVariable
(
ID3D10EffectShaderResourceVariable
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
return
CONTAINING_RECORD
(
(
ID3D10EffectVariable
*
)
iface
,
struct
d3d10_effect_variable
,
ID3D10EffectVariable_iface
);
}
static
BOOL
STDMETHODCALLTYPE
d3d10_effect_shader_resource_variable_IsValid
(
ID3D10EffectShaderResourceVariable
*
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