summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-11 13:20:52 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-11 14:19:31 -0600
commit4d184cc33131b440f9aafbcdd2d657050411db49 (patch)
tree9b3b979bb127bfbea7189a0b6259fc1b4ac41154 /src/gallium/auxiliary/rtasm
parent02250c855fbec5299a2d6118fefa0523ec73654c (diff)
gallium: fix broken x86_call()
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_x86sse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
index 4d33950e99..aea8b28e58 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
@@ -317,7 +317,7 @@ void x86_call( struct x86_function *p, void (*label)())
void x86_call( struct x86_function *p, struct x86_reg reg)
{
emit_1ub(p, 0xff);
- emit_modrm(p, reg, reg);
+ emit_modrm_noreg(p, 2, reg);
}
#endif