diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-04-23 17:53:28 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-04-23 17:53:28 +0000 |
commit | 948dff8932ff52eb90ebd86b24ebb926fd2620f3 (patch) | |
tree | d316389ee5786f3d946880c898fbbbd53a46a1ae | |
parent | 6d460af6af77a0d5a5b568bcd6094b98e249ba93 (diff) |
init mgaScreen->irq (Tilman Sauerbeck)
-rw-r--r-- | src/mesa/drivers/dri/mga/mga_xmesa.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |