Commit 39263558 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Make some functions static.

parent 6ac02c0c
......@@ -4279,13 +4279,13 @@ static void adapter_gl_destroy_device(struct wined3d_device *device)
heap_free(device_gl);
}
struct wined3d_context *adapter_gl_acquire_context(struct wined3d_device *device,
static struct wined3d_context *adapter_gl_acquire_context(struct wined3d_device *device,
struct wined3d_texture *texture, unsigned int sub_resource_idx)
{
return wined3d_context_gl_acquire(device, texture, sub_resource_idx);
}
void adapter_gl_release_context(struct wined3d_context *context)
static void adapter_gl_release_context(struct wined3d_context *context)
{
return wined3d_context_gl_release(wined3d_context_gl(context));
}
......
......@@ -536,7 +536,7 @@ static void adapter_vk_destroy_device(struct wined3d_device *device)
heap_free(device_vk);
}
struct wined3d_context *adapter_vk_acquire_context(struct wined3d_device *device,
static struct wined3d_context *adapter_vk_acquire_context(struct wined3d_device *device,
struct wined3d_texture *texture, unsigned int sub_resource_idx)
{
TRACE("device %p, texture %p, sub_resource_idx %u.\n", device, texture, sub_resource_idx);
......@@ -549,7 +549,7 @@ struct wined3d_context *adapter_vk_acquire_context(struct wined3d_device *device
return &wined3d_device_vk(device)->context_vk.c;
}
void adapter_vk_release_context(struct wined3d_context *context)
static void adapter_vk_release_context(struct wined3d_context *context)
{
TRACE("context %p.\n", context);
}
......
......@@ -2687,7 +2687,7 @@ static void adapter_no3d_destroy_device(struct wined3d_device *device)
heap_free(device);
}
struct wined3d_context *adapter_no3d_acquire_context(struct wined3d_device *device,
static struct wined3d_context *adapter_no3d_acquire_context(struct wined3d_device *device,
struct wined3d_texture *texture, unsigned int sub_resource_idx)
{
TRACE("device %p, texture %p, sub_resource_idx %u.\n", device, texture, sub_resource_idx);
......@@ -2700,7 +2700,7 @@ struct wined3d_context *adapter_no3d_acquire_context(struct wined3d_device *devi
return &wined3d_device_no3d(device)->context_no3d;
}
void adapter_no3d_release_context(struct wined3d_context *context)
static void adapter_no3d_release_context(struct wined3d_context *context)
{
TRACE("context %p.\n", context);
}
......@@ -3044,7 +3044,7 @@ static void adapter_no3d_dispatch_compute(struct wined3d_device *device,
ERR("device %p, state %p, parameters %p.\n", device, state, parameters);
}
void adapter_no3d_clear_uav(struct wined3d_context *context,
static void adapter_no3d_clear_uav(struct wined3d_context *context,
struct wined3d_unordered_access_view *view, const struct wined3d_uvec4 *clear_value)
{
ERR("context %p, view %p, clear_value %s.\n", context, view, debug_uvec4(clear_value));
......
......@@ -419,7 +419,7 @@ static void shader_glsl_add_version_declaration(struct wined3d_string_buffer *bu
shader_addline(buffer, "#version %u\n", shader_glsl_get_version(gl_info));
}
unsigned int shader_glsl_full_ffp_varyings(const struct wined3d_gl_info *gl_info)
static unsigned int shader_glsl_full_ffp_varyings(const struct wined3d_gl_info *gl_info)
{
/* On core profile we have to also count diffuse and specular colours and
* the fog coordinate. */
......
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