diff options
author | Brian Paul <[email protected]> | 2010-08-27 10:21:59 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-08-27 10:21:59 -0600 |
commit | 476adf796b150ca93fcfaf6c6d97a9eedd678561 (patch) | |
tree | 5fb5aa95b8047ae521ca4f1f3649e63493a7f7a6 /src/mesa/main | |
parent | 55f4eab93cf964a2ffa540fef9485b6f737a6f41 (diff) |
mesa: fix double-underscore naming
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/shaderobj.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c index bcf7d313f94..65d8d116db1 100644 --- a/src/mesa/main/shaderobj.c +++ b/src/mesa/main/shaderobj.c @@ -118,7 +118,7 @@ _mesa_new_shader(GLcontext *ctx, GLuint name, GLenum type) * Called via ctx->Driver.DeleteShader(). */ static void -__mesa_delete_shader(GLcontext *ctx, struct gl_shader *sh) +_mesa_delete_shader(GLcontext *ctx, struct gl_shader *sh) { if (sh->Source) free((void *) sh->Source); @@ -338,7 +338,7 @@ _mesa_free_shader_program_data(GLcontext *ctx, * Called via ctx->Driver.DeleteShaderProgram(). */ static void -__mesa_delete_shader_program(GLcontext *ctx, struct gl_shader_program *shProg) +_mesa_delete_shader_program(GLcontext *ctx, struct gl_shader_program *shProg) { _mesa_free_shader_program_data(ctx, shProg); @@ -400,9 +400,9 @@ void _mesa_init_shader_object_functions(struct dd_function_table *driver) { driver->NewShader = _mesa_new_shader; - driver->DeleteShader = __mesa_delete_shader; + driver->DeleteShader = _mesa_delete_shader; driver->NewShaderProgram = _mesa_new_shader_program; - driver->DeleteShaderProgram = __mesa_delete_shader_program; + driver->DeleteShaderProgram = _mesa_delete_shader_program; driver->CompileShader = _mesa_ir_compile_shader; driver->LinkShader = _mesa_ir_link_shader; } |