From: Brian Paul Date: Fri, 23 Apr 2004 17:53:28 +0000 (+0000) Subject: init mgaScreen->irq (Tilman Sauerbeck) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=948dff8932ff52eb90ebd86b24ebb926fd2620f3;p=mesa.git init mgaScreen->irq (Tilman Sauerbeck) --- diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index f0fe8d2c049..4edb954ef86 100644 --- a/src/mesa/drivers/dri/mga/mga_xmesa.c +++ b/src/mesa/drivers/dri/mga/mga_xmesa.c @@ -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));