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
d0e37372
Commit
d0e37372
authored
Mar 15, 2024
by
Pavel Ondračka
Committed by
Alexandre Julliard
Mar 21, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Define enums outside of struct.
Co-authored-by:
David Heidelberg
<
david@ixit.cz
>
Signed-off-by:
David Heidelberg
<
david@ixit.cz
>
parent
c38df594
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
visual.c
dlls/d3d9/tests/visual.c
+13
-11
No files found.
dlls/d3d9/tests/visual.c
View file @
d0e37372
...
...
@@ -1667,16 +1667,17 @@ static void color_fill_test(void)
{
D3DPOOL_MANAGED
,
0
,
D3DERR_INVALIDCALL
},
{
D3DPOOL_SCRATCH
,
0
,
D3DERR_INVALIDCALL
},
};
static
const
struct
{
D3DFORMAT
format
;
const
char
*
name
;
enum
enum
format_flags
{
CHECK_FILL_VALUE
=
0x1
,
BLOCKS
=
0x2
,
FLOAT_VALUES
=
0x4
,
}
flags
;
};
static
const
struct
{
D3DFORMAT
format
;
const
char
*
name
;
enum
format_flags
flags
;
unsigned
int
fill_i
[
4
];
float
fill_f
[
4
];
}
...
...
@@ -23249,16 +23250,17 @@ static void test_texture_blending(void)
DWORD
value
;
};
struct
texture_stage
{
enum
enum
texture_stage_texture
{
TEXTURE_INVALID
,
TEXTURE_NONE
,
TEXTURE_BUMPMAP
,
TEXTURE_RED
,
}
texture
;
};
struct
texture_stage
{
enum
texture_stage_texture
texture
;
struct
texture_stage_state
state
[
20
];
};
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