init mgaScreen->irq (Tilman Sauerbeck)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 23 Apr 2004 17:53:28 +0000 (17:53 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 23 Apr 2004 17:53:28 +0000 (17:53 +0000)
src/mesa/drivers/dri/mga/mga_xmesa.c

index f0fe8d2c049e4905cae3cb1f2309684cc7aaa872..4edb954ef8621e6de04255196b65e188baf0e316 100644 (file)
@@ -248,6 +248,7 @@ mgaInitDriver(__DRIscreenPrivate *sPriv)
 
       gp.param = MGA_PARAM_IRQ_NR;
       gp.value = &mgaScreen->irq;
+      mgaScreen->irq = 0;
 
       ret = drmCommandWriteRead( sPriv->fd, DRM_MGA_GETPARAM,
                                    &gp, sizeof(gp));