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
9e99c6f6
Commit
9e99c6f6
authored
Apr 18, 2023
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Use __VA_ARGS__ instead of GCCs named variadics.
parent
54890fe3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
effect.c
dlls/d3dx9_36/tests/effect.c
+6
-6
No files found.
dlls/d3dx9_36/tests/effect.c
View file @
9e99c6f6
...
...
@@ -5167,8 +5167,8 @@ static void test_isparameterused_children(unsigned int line, ID3DXEffect *effect
}
}
#define test_isparameterused_param_with_children(
args
...) \
test_isparameterused_param_with_children_(__LINE__,
args
)
#define test_isparameterused_param_with_children(...) \
test_isparameterused_param_with_children_(__LINE__,
__VA_ARGS__
)
static
void
test_isparameterused_param_with_children_
(
unsigned
int
line
,
ID3DXEffect
*
effect
,
ID3DXEffect
*
effect2
,
D3DXHANDLE
tech
,
const
char
*
name
,
BOOL
expected_result
)
{
...
...
@@ -6597,8 +6597,8 @@ static const DWORD test_effect_shared_parameters_blob[] =
0x00000004
,
0x00000000
,
0xf0f0f0f0
,
0x0f0f0f0f
,
0x0000ffff
,
};
#define test_effect_shared_vs_arr_compare_helper(
args
...) \
test_effect_shared_vs_arr_compare_helper_(__LINE__,
args
)
#define test_effect_shared_vs_arr_compare_helper(...) \
test_effect_shared_vs_arr_compare_helper_(__LINE__,
__VA_ARGS__
)
static
void
test_effect_shared_vs_arr_compare_helper_
(
unsigned
int
line
,
ID3DXEffect
*
effect
,
D3DXHANDLE
param_child
,
struct
IDirect3DVertexShader9
*
vshader1
,
unsigned
int
element
,
BOOL
todo
)
...
...
@@ -6618,8 +6618,8 @@ static void test_effect_shared_vs_arr_compare_helper_(unsigned int line, ID3DXEf
IDirect3DVertexShader9_Release
(
vshader2
);
}
#define test_effect_shared_parameters_compare_vconst(
args
...) \
test_effect_shared_parameters_compare_vconst_(__LINE__,
args
)
#define test_effect_shared_parameters_compare_vconst(...) \
test_effect_shared_parameters_compare_vconst_(__LINE__,
__VA_ARGS__
)
static
void
test_effect_shared_parameters_compare_vconst_
(
unsigned
int
line
,
IDirect3DDevice9
*
device
,
unsigned
int
index
,
const
D3DXVECTOR4
*
expected_fvect
,
BOOL
todo
)
{
...
...
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