Mesa (master): st/mesa: rename st_clear() to st_Clear()

Brian Paul brianp at kemper.freedesktop.org
Wed Mar 24 07:39:43 PDT 2010


Module: Mesa
Branch: master
Commit: 3374b26f52313f629b69876bbca30845fb78b371
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3374b26f52313f629b69876bbca30845fb78b371

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Mar 24 08:18:13 2010 -0600

st/mesa: rename st_clear() to st_Clear()

To be consistent with other Mesa driver functions.

---

 src/mesa/state_tracker/st_cb_clear.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c
index 2777505..08c3e08 100644
--- a/src/mesa/state_tracker/st_cb_clear.c
+++ b/src/mesa/state_tracker/st_cb_clear.c
@@ -431,7 +431,7 @@ void st_flush_clear( struct st_context *st )
 /**
  * Called via ctx->Driver.Clear()
  */
-static void st_clear(GLcontext *ctx, GLbitfield mask)
+static void st_Clear(GLcontext *ctx, GLbitfield mask)
 {
    static const GLbitfield BUFFER_BITS_DS
       = (BUFFER_BIT_DEPTH | BUFFER_BIT_STENCIL);
@@ -528,5 +528,5 @@ static void st_clear(GLcontext *ctx, GLbitfield mask)
 
 void st_init_clear_functions(struct dd_function_table *functions)
 {
-   functions->Clear = st_clear;
+   functions->Clear = st_Clear;
 }



More information about the mesa-commit mailing list