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
fb0c4ec5
Commit
fb0c4ec5
authored
Dec 29, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Sep 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make wined3d_stateblock_state_{init,cleanup}() static.
parent
7bb6dc7b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
stateblock.c
dlls/wined3d/stateblock.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-4
No files found.
dlls/wined3d/stateblock.c
View file @
fb0c4ec5
...
...
@@ -489,7 +489,7 @@ void state_unbind_resources(struct wined3d_state *state)
}
}
void
wined3d_stateblock_state_cleanup
(
struct
wined3d_stateblock_state
*
state
)
static
void
wined3d_stateblock_state_cleanup
(
struct
wined3d_stateblock_state
*
state
)
{
struct
wined3d_light_info
*
light
,
*
cursor
;
struct
wined3d_vertex_declaration
*
decl
;
...
...
@@ -2065,7 +2065,7 @@ static void stateblock_state_init_default(struct wined3d_stateblock_state *state
state
->
streams
[
i
].
frequency
=
1
;
}
void
wined3d_stateblock_state_init
(
struct
wined3d_stateblock_state
*
state
,
static
void
wined3d_stateblock_state_init
(
struct
wined3d_stateblock_state
*
state
,
const
struct
wined3d_device
*
device
,
uint32_t
flags
)
{
rb_init
(
&
state
->
light_state
->
lights_tree
,
lights_compare
);
...
...
dlls/wined3d/wined3d_private.h
View file @
fb0c4ec5
...
...
@@ -3608,10 +3608,6 @@ struct wined3d_stateblock
unsigned
int
num_contained_sampler_states
;
};
void
wined3d_stateblock_state_init
(
struct
wined3d_stateblock_state
*
state
,
const
struct
wined3d_device
*
device
,
uint32_t
flags
)
DECLSPEC_HIDDEN
;
void
wined3d_stateblock_state_cleanup
(
struct
wined3d_stateblock_state
*
state
)
DECLSPEC_HIDDEN
;
bool
wined3d_light_state_enable_light
(
struct
wined3d_light_state
*
state
,
const
struct
wined3d_d3d_info
*
d3d_info
,
struct
wined3d_light_info
*
light_info
,
BOOL
enable
)
DECLSPEC_HIDDEN
;
struct
wined3d_light_info
*
wined3d_light_state_get_light
(
const
struct
wined3d_light_state
*
state
,
...
...
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