From 2f6451042d6c6e69fe1ea4f87814ebf2f982b034 Mon Sep 17 00:00:00 2001 From: Cooper Yuan Date: Mon, 22 Jun 2009 14:33:18 +0800 Subject: [PATCH] Pass viewport id to r700SendViewportState function, otherwise the radom value may beyond R700_MAX_VIEWPORTS --- src/mesa/drivers/dri/r600/r700_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c index 4693cfbd827..e46b21c85c1 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); -- 2.30.2