summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-07-12 16:00:57 +0000
committerBrian Paul <[email protected]>2002-07-12 16:00:57 +0000
commit5c711e3671b9e01f0bf6c1b8e64e486c5c3afe6f (patch)
treec198f109f55f622f8faf261d5a44d975f6ded522 /src/mesa
parente237491493087e06eddd9da1690b3d163fcf421a (diff)
fix patching offsets (Sven Panne) (patch 544637)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/sparc/sparc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c
index 74b6a810eb6..3db0ae62b79 100644
--- a/src/mesa/sparc/sparc.c
+++ b/src/mesa/sparc/sparc.c
@@ -1,4 +1,4 @@
-/* $Id: sparc.c,v 1.7 2002/04/17 19:08:32 brianp Exp $ */
+/* $Id: sparc.c,v 1.8 2002/07/12 16:00:57 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -165,12 +165,12 @@ void _mesa_init_sparc_glapi_relocs(void)
insn_ptr[2] |= ((disp_addr >> 32) & ((1 << 10) - 1));
insn_ptr[3] |= (disp_addr & ((1 << 10) - 1));
__glapi_sparc_icache_flush(&insn_ptr[2]);
- insn_ptr += 10;
+ insn_ptr += 11;
#else
insn_ptr[0] |= (disp_addr >> 10);
insn_ptr[1] |= (disp_addr & ((1 << 10) - 1));
__glapi_sparc_icache_flush(&insn_ptr[0]);
- insn_ptr += 4;
+ insn_ptr += 5;
#endif
}
}