diff options
author | Matt Turner <[email protected]> | 2012-12-31 12:58:08 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-01-02 12:33:35 -0800 |
commit | 1b06a0478f5e307d0065805cf09c2971d5a312e2 (patch) | |
tree | a2a8540e724d3bce1fbc9f87b17ce21f71ad4e5a /src/mesa/main | |
parent | 86b6964ef9839f1bd5a05efe47712843c97196ca (diff) |
mesa: Mark _mesa_{init,delete}_sampler_object as static
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/samplerobj.c | 4 | ||||
-rw-r--r-- | src/mesa/main/samplerobj.h | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 3c3bfffd4d9..9b2121660d3 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -110,7 +110,7 @@ _mesa_reference_sampler_object_(struct gl_context *ctx, /** * Initialize the fields of the given sampler object. */ -void +static void _mesa_init_sampler_object(struct gl_sampler_object *sampObj, GLuint name) { sampObj->Name = name; @@ -151,7 +151,7 @@ _mesa_new_sampler_object(struct gl_context *ctx, GLuint name) /** * Fallback for ctx->Driver.DeleteSamplerObject(); */ -void +static void _mesa_delete_sampler_object(struct gl_context *ctx, struct gl_sampler_object *sampObj) { diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h index ecff032c978..dce7c6c3080 100644 --- a/src/mesa/main/samplerobj.h +++ b/src/mesa/main/samplerobj.h @@ -63,17 +63,10 @@ _mesa_reference_sampler_object(struct gl_context *ctx, } -extern void -_mesa_init_sampler_object(struct gl_sampler_object *sampObj, GLuint name); - extern struct gl_sampler_object * _mesa_new_sampler_object(struct gl_context *ctx, GLuint name); extern void -_mesa_delete_sampler_object(struct gl_context *ctx, - struct gl_sampler_object *sampObj); - -extern void _mesa_init_sampler_object_functions(struct dd_function_table *driver); extern void |