From 948dff8932ff52eb90ebd86b24ebb926fd2620f3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 23 Apr 2004 17:53:28 +0000 Subject: init mgaScreen->irq (Tilman Sauerbeck) --- src/mesa/drivers/dri/mga/mga_xmesa.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/dri/mga') diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index f0fe8d2c04..4edb954ef8 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)); -- cgit v1.2.3