From: Brian Paul Date: Tue, 27 Jan 2009 00:23:59 +0000 (-0700) Subject: i915: rename some functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cf7f9887ae9f26c006f88071cd69343e2c591e4;p=mesa.git i915: rename some functions --- diff --git a/src/mesa/drivers/dri/i915/i915_state.c b/src/mesa/drivers/dri/i915/i915_state.c index f94de41a57b..b0334d9d795 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; }