diff options
author | Cooper Yuan <cooperyuan@gmail.com> | 2009-06-22 14:33:18 +0800 |
---|---|---|
committer | Cooper Yuan <cooperyuan@gmail.com> | 2009-06-22 14:33:18 +0800 |
commit | 2f6451042d6c6e69fe1ea4f87814ebf2f982b034 (patch) | |
tree | f7df6bc88cf606a966ae9d40ce9d7e5a1f0faf08 | |
parent | 46ca8e5782ebb71d6e5f8a29c1c66b4891bf4916 (diff) |
Pass viewport id to r700SendViewportState function, otherwise the radom value may beyond R700_MAX_VIEWPORTS
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_render.c | 2 |
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); |