Commit fb0c4ec5 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Make wined3d_stateblock_state_{init,cleanup}() static.

parent 7bb6dc7b
......@@ -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);
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment