summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-05-21 17:40:27 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-21 17:40:27 -0400
commitb52cdb81e2a0f7109e754daa4a02aced22aa995f (patch)
treeb2f32de424aa3a7d5892f513322c94942bcb116d /src
parent1b84d228d5a3c15530567ce193455af4932839bf (diff)
r6xx/r7xx: fix segfault in vertex shader setup
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r600/r700_assembler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c
index 5ceb3fdd9b..1610020ee8 100644
--- a/src/mesa/drivers/dri/r600/r700_assembler.c
+++ b/src/mesa/drivers/dri/r600/r700_assembler.c
@@ -4041,7 +4041,7 @@ GLboolean Process_Vertex_Exports(r700_AssemblerBase *pR700AsmCode,
SQ_EXPORT_PARAM,
0,
1,
- 0,
+ pR700AsmCode->starting_export_register_number,
GL_FALSE) )
{
return GL_FALSE;