summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-17 14:27:36 -0600
committerBrian Paul <[email protected]>2008-06-18 09:22:00 -0600
commit5ebd8495b31fadf7452aa336fb5aa708c1a5d753 (patch)
tree8f3f5b43cbe3ad229c8d4d98577be27d5a9a14c8 /src/mesa/state_tracker/st_context.c
parent29d632efbc29200ed4f6f5e34dd10c857a2568aa (diff)
gallium: added st_get_proc_address()
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 9decca8a14b..1b3b9997141 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -33,6 +33,7 @@
#include "main/scissor.h"
#include "vbo/vbo.h"
#include "shader/shader_api.h"
+#include "glapi/glapi.h"
#include "st_public.h"
#include "st_context.h"
#include "st_cb_accum.h"
@@ -243,6 +244,14 @@ void st_copy_context_state(struct st_context *dst,
}
+
+st_proc st_get_proc_address(const char *procname)
+{
+ return (st_proc) _glapi_get_proc_address(procname);
+}
+
+
+
void st_init_driver_functions(struct dd_function_table *functions)
{
_mesa_init_glsl_driver_functions(functions);