nvc0: minor cleanups in stream output handling
[mesa.git] / src / mapi / mapi_glapi.c
index 925caf36c084feb0b0a0e55d8dc064ee8ac639f7..7b0903be9ee5537cc9cae998c05778d6ef7018a9 100644 (file)
@@ -58,13 +58,13 @@ _glapi_check_multithread(void)
 void
 _glapi_set_context(void *context)
 {
-   u_current_set_user((const void *) context);
+   u_current_set_context((const void *) context);
 }
 
 void
 _glapi_set_dispatch(struct _glapi_table *dispatch)
 {
-   u_current_set((const struct mapi_table *) dispatch);
+   u_current_set_table((const struct mapi_table *) dispatch);
 }
 
 /**