Pass viewport id to r700SendViewportState function, otherwise the radom value may beyond R700_MAX_VIEWPORTS

This commit is contained in:
Cooper Yuan 2009-06-22 14:33:18 +08:00
parent 46ca8e5782
commit 2f6451042d

View file

@ -296,7 +296,7 @@ static GLboolean r700RunRender(GLcontext * ctx,
//r700SyncSurf(context); /* */
r700SendContextStates(context);
r700SendViewportState(context);
r700SendViewportState(context, 0);
r700SendRenderTargetState(context, 0);