summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c8
-rw-r--r--src/mesa/main/dispatch.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index ee6953ded86..49146ce079d 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.140 2001/06/05 03:58:20 davem69 Exp $ */
+/* $Id: context.c,v 1.141 2001/06/05 23:54:00 davem69 Exp $ */
/*
* Mesa 3-D graphics library
@@ -66,6 +66,9 @@
#include "Trace/tr_wrapper.h"
#endif
+#ifdef USE_SPARC_ASM
+#include "SPARC/sparc.h"
+#endif
#ifndef MESA_VERBOSE
int MESA_VERBOSE = 0
@@ -453,6 +456,9 @@ one_time_init( void )
_math_init();
_mesa_init_math();
+#ifdef USE_SPARC_ASM
+ _mesa_init_sparc_glapi_relocs();
+#endif
if (getenv("MESA_DEBUG")) {
_glapi_noop_enable_warnings(GL_TRUE);
}
diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c
index cc14c4b498d..078f7bc73fb 100644
--- a/src/mesa/main/dispatch.c
+++ b/src/mesa/main/dispatch.c
@@ -1,4 +1,4 @@
-/* $Id: dispatch.c,v 1.22 2001/03/28 17:20:20 brianp Exp $ */
+/* $Id: dispatch.c,v 1.23 2001/06/05 23:54:00 davem69 Exp $ */
/*
* Mesa 3-D graphics library
@@ -48,7 +48,7 @@
#include "glthread.h"
#endif
-#if !defined(USE_X86_ASM)
+#if !(defined(USE_X86_ASM) || defined(USE_SPARC_ASM))
#define KEYWORD1
#define KEYWORD2 GLAPIENTRY