summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600
diff options
context:
space:
mode:
authorCooper Yuan <cooperyuan@gmail.com>2009-06-22 14:33:18 +0800
committerCooper Yuan <cooperyuan@gmail.com>2009-06-22 14:33:18 +0800
commit2f6451042d6c6e69fe1ea4f87814ebf2f982b034 (patch)
treef7df6bc88cf606a966ae9d40ce9d7e5a1f0faf08 /src/mesa/drivers/dri/r600
parent46ca8e5782ebb71d6e5f8a29c1c66b4891bf4916 (diff)
Pass viewport id to r700SendViewportState function, otherwise the radom value may beyond R700_MAX_VIEWPORTS
Diffstat (limited to 'src/mesa/drivers/dri/r600')
-rw-r--r--src/mesa/drivers/dri/r600/r700_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c
index 4693cfbd82..e46b21c85c 100644
--- a/src/mesa/drivers/dri/r600/r700_render.c
+++ b/src/mesa/drivers/dri/r600/r700_render.c
@@ -296,7 +296,7 @@ static GLboolean r700RunRender(GLcontext * ctx,
//r700SyncSurf(context); /* */
r700SendContextStates(context);
- r700SendViewportState(context);
+ r700SendViewportState(context, 0);
r700SendRenderTargetState(context, 0);