Pass viewport id to r700SendViewportState function, otherwise the radom value may...
authorCooper Yuan <cooperyuan@gmail.com>
Mon, 22 Jun 2009 06:33:18 +0000 (14:33 +0800)
committerCooper Yuan <cooperyuan@gmail.com>
Mon, 22 Jun 2009 06:33:18 +0000 (14:33 +0800)
src/mesa/drivers/dri/r600/r700_render.c

index 4693cfbd8278d54c03fa64d2c557dcd7f7497905..e46b21c85c15b621d95efce9fd59d7d41384f678 100644 (file)
@@ -296,7 +296,7 @@ static GLboolean r700RunRender(GLcontext * ctx,
     //r700SyncSurf(context); /*  */
 
     r700SendContextStates(context);
-    r700SendViewportState(context);
+    r700SendViewportState(context, 0);
     r700SendRenderTargetState(context, 0);