Mesa (master): i915: rename some functions

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 27 00:24:22 UTC 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 26 17:23:59 2009 -0700

i915: rename some functions

---

 src/mesa/drivers/dri/i915/i915_state.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/i915_state.c b/src/mesa/drivers/dri/i915/i915_state.c
index f94de41..b0334d9 100644
--- a/src/mesa/drivers/dri/i915/i915_state.c
+++ b/src/mesa/drivers/dri/i915/i915_state.c
@@ -352,7 +352,7 @@ intelCalcViewport(GLcontext * ctx)
 
 /** Called from ctx->Driver.Viewport() */
 static void
-intelViewport(GLcontext * ctx,
+i915Viewport(GLcontext * ctx,
               GLint x, GLint y, GLsizei width, GLsizei height)
 {
    intelCalcViewport(ctx);
@@ -363,7 +363,7 @@ intelViewport(GLcontext * ctx,
 
 /** Called from ctx->Driver.DepthRange() */
 static void
-intelDepthRange(GLcontext * ctx, GLclampd nearval, GLclampd farval)
+i915DepthRange(GLcontext * ctx, GLclampd nearval, GLclampd farval)
 {
    intelCalcViewport(ctx);
 }
@@ -1032,8 +1032,8 @@ i915InitStateFunctions(struct dd_function_table *functions)
    functions->StencilFuncSeparate = i915StencilFuncSeparate;
    functions->StencilMaskSeparate = i915StencilMaskSeparate;
    functions->StencilOpSeparate = i915StencilOpSeparate;
-   functions->DepthRange = intelDepthRange;
-   functions->Viewport = intelViewport;
+   functions->DepthRange = i915DepthRange;
+   functions->Viewport = i915Viewport;
 }
 
 




More information about the mesa-commit mailing list