summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-06 20:56:29 +0100
committerBrian <brian.paul@tungstengraphics.com>2007-08-06 20:56:29 +0100
commit647afc3179b6c2b3f35a9c4d388f7e0289a86404 (patch)
tree7aa999a9cff759d292802509c545c5f9da290287 /src/mesa
parent34ff87e46af23919cf53e9a4cf551fa154535f0b (diff)
call st_init_driver_functions(), make intelInitDriverFunctions() static
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i915pipe/intel_context.c4
-rw-r--r--src/mesa/drivers/dri/i915pipe/intel_context.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915pipe/intel_context.c b/src/mesa/drivers/dri/i915pipe/intel_context.c
index ced4366009..a70b0ad729 100644
--- a/src/mesa/drivers/dri/i915pipe/intel_context.c
+++ b/src/mesa/drivers/dri/i915pipe/intel_context.c
@@ -308,7 +308,7 @@ intelFinish(GLcontext * ctx)
}
-void
+static void
intelInitDriverFunctions(struct dd_function_table *functions)
{
_mesa_init_driver_functions(functions);
@@ -322,6 +322,8 @@ intelInitDriverFunctions(struct dd_function_table *functions)
intelInitTextureFuncs(functions);
*/
intelInitBufferFuncs(functions);
+
+ st_init_driver_functions(functions);
}
diff --git a/src/mesa/drivers/dri/i915pipe/intel_context.h b/src/mesa/drivers/dri/i915pipe/intel_context.h
index ad55e7eef2..1a4e7ca1cd 100644
--- a/src/mesa/drivers/dri/i915pipe/intel_context.h
+++ b/src/mesa/drivers/dri/i915pipe/intel_context.h
@@ -193,8 +193,6 @@ extern void intelGetLock(struct intel_context *intel, GLuint flags);
extern void intelFinish(GLcontext * ctx);
extern void intelFlush(GLcontext * ctx);
-extern void intelInitDriverFunctions(struct dd_function_table *functions);
-
/* ================================================================
* intel_softpipe.c: