summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-04-23 17:53:28 +0000
committerBrian Paul <[email protected]>2004-04-23 17:53:28 +0000
commit948dff8932ff52eb90ebd86b24ebb926fd2620f3 (patch)
treed316389ee5786f3d946880c898fbbbd53a46a1ae /src/mesa/drivers
parent6d460af6af77a0d5a5b568bcd6094b98e249ba93 (diff)
init mgaScreen->irq (Tilman Sauerbeck)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/mga/mga_xmesa.c1
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 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));