Recalculate the viewport matrix in savageEmitDrawingRectangle.
authorFelix Kuehling <fxkuehl@gmx.de>
Thu, 25 Mar 2004 15:19:23 +0000 (15:19 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Thu, 25 Mar 2004 15:19:23 +0000 (15:19 +0000)
src/mesa/drivers/dri/savage/savagestate.c

index e4e608d3b0335c17f1306773f75e8a0cf198b93e..5fdafa4288b296f59386e85f64e6e2ca84f69ffe 100644 (file)
@@ -1394,6 +1394,7 @@ void savageEmitDrawingRectangle( savageContextPtr imesa )
     /*   imesa->regs.ni.changed.ni.fDrawCtrl0Changed=GL_TRUE;
          imesa->regs.ni.changed.ni.fDrawCtrl1Changed=GL_TRUE;*/
 
+    savageCalcViewport (imesa->glCtx);
 
     imesa->dirty |= SAVAGE_UPLOAD_BUFFERS;
 }